JNumber

object JNumber
Companion
class
trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def apply(value: Int): JNumber
def apply(value: Integer): JNumber
def apply(value: Long): JNumber
def apply(value: BigInt): JNumber
def apply(value: BigDecimal): JNumber
def apply(value: Double): JValue
Returns

Will return a JNull if value is a Nan or Infinity

def apply(value: Float): JValue
Returns

Will return a JNull if value is a Nan or Infinity

def apply(value: String): Option[JNumber]
def fromString(value: String): Option[JNumber]