native_methods/number_methods library

Classes

Abs
Returns the absolute value of this number.
Acos
Returns the arccosine of this number.
Asin
Returns the arcsine of this number.
Atan
Returns the arctangent of this number.
Atan2
Returns the arctangent of this number and another number.
Ceil
Returns the ceiling value of this number.
CompareTo
Compares this number with another number.
Cos
Exp
Returns the exponential of this number.
Floor
Returns the floor value of this number.
IsEven
Returns true if this number is even.
IsOdd
Returns true if this number is odd.
Log
Returns the natural logarithm of this number.
Max
Returns the maximum of this number and another number.
Min
Returns the minimum of this number and another number.
Mod
Returns the remainder of this number divided by another number.
Pow
Raises this number to the power of another number.
Round
Rounds this number to the nearest integer.
Sin
Sqrt
Returns the square root of this number.
Tan
Returns the tangent of this number.
ToString
Returns the string representation of this number.
Truncate
Returns the truncated value of this number.

Functions

registerNumberExtensions() → void
Registers all number extensions. These are registered automatically by the VM.