scala.scalajs.js.prim

Number

object Number extends Object

The top-level Number JavaScript object

Linear Supertypes
Object, Any, AnyRef, scala.Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Number
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: scala.Any): scala.Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: scala.Any): scala.Boolean

    Definition Classes
    AnyRef → Any
  4. val MAX_VALUE: Double

    The Number.MAX_VALUE property represents the maximum numeric value representable in JavaScript.

    The Number.MAX_VALUE property represents the maximum numeric value representable in JavaScript.

    The MAX_VALUE property has a value of approximately 1.79E+308. Values larger than MAX_VALUE are represented as "Infinity".

    MDN

  5. val MIN_VALUE: Double

    The Number.MIN_VALUE property represents the smallest positive numeric value representable in JavaScript.

    The Number.MIN_VALUE property represents the smallest positive numeric value representable in JavaScript.

    The MIN_VALUE property is the number closest to 0, not the most negative number, that JavaScript can represent.

    MIN_VALUE has a value of approximately 5e-324. Values smaller than MIN_VALUE ("underflow values") are converted to 0.

    MDN

  6. val NEGATIVE_INFINITY: Double

    The Number.NEGATIVE_INFINITY property represents the negative Infinity value.

    The Number.NEGATIVE_INFINITY property represents the negative Infinity value.

    MDN

  7. val NaN: Double

    The Number.NaN property represents Not-A-Number.

    The Number.NaN property represents Not-A-Number. Equivalent of NaN.

    MDN

  8. val POSITIVE_INFINITY: Double

    The Number.POSITIVE_INFINITY property represents the positive Infinity value.

    The Number.POSITIVE_INFINITY property represents the positive Infinity value.

    MDN

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): scala.Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: scala.Any): scala.Boolean

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def hasOwnProperty(v: js.String): js.Boolean

    Tests whether this object has the specified property as a direct property.

    Tests whether this object has the specified property as a direct property.

    Unlike js.Object.hasProperty, this method does not check down the object's prototype chain.

    MDN

    Definition Classes
    Object
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: scala.Boolean

    Definition Classes
    Any
  18. def isPrototypeOf(v: Object): js.Boolean

    Tests whether this object is in the prototype chain of another object.

    Tests whether this object is in the prototype chain of another object.

    Definition Classes
    Object
  19. final def ne(arg0: AnyRef): scala.Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. def propertyIsEnumerable(v: js.String): js.Boolean

    Tests whether the specified property in an object can be enumerated by a call to js.Object.properties, with the exception of properties inherited through the prototype chain.

    Tests whether the specified property in an object can be enumerated by a call to js.Object.properties, with the exception of properties inherited through the prototype chain. If the object does not have the specified property, this method returns false.

    MDN

    Definition Classes
    Object
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. implicit def toDouble(value: Number): Double

  25. def toLocaleString(): js.String

    Definition Classes
    Object
  26. def toString(): java.lang.String

    Definition Classes
    AnyRef → Any
  27. def valueOf(): scala.Any

    Definition Classes
    Object
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def unary_!(): js.Boolean

    Definition Classes
    Any
    Annotations
    @deprecated
    Deprecated

    (Since version 0.5.0)

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from scala.Any

Ungrouped