JNumber

final case
class JNumber extends JValue

Represents a JSON number value. If you are passing in a NaN or Infinity as a scala.Double or scala.Float, JNumber will return a JNull.

Companion
object
class JValue
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Constructors

def this(value: Double)

Javascript specification for numbers specify a scala.Double, so this is the default export method to Javascript

Javascript specification for numbers specify a scala.Double, so this is the default export method to Javascript

Concrete methods

def copy(value: String): JNumber
override
def equals(obj: Any): Boolean
Definition Classes
Equals -> Any
override
def hashCode: Int
Definition Classes
Any
override
def toJsAny: Any
Definition Classes
override
Definition Classes

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product