Number
Superclass for all platform classes representing numeric values.
Since Kotlin
1.2Superclass for all platform classes representing numeric values.
Since Kotlin
1.0Superclass for all platform classes representing numeric values.
Since Kotlin
1.1Constructors
Functions
Returns the value of this number as a Byte, which may involve rounding or truncation.
Returns the value of this number as a Byte, which may involve rounding or truncation.
Returns the value of this number as a Byte, which may involve rounding or truncation.
Returns the Char with the numeric value equal to this number, truncated to 16 bits if appropriate.
Returns the Char with the numeric value equal to this number, truncated to 16 bits if appropriate.
Returns the Char with the numeric value equal to this number, truncated to 16 bits if appropriate.
Returns the value of this number as an Int, which may involve rounding or truncation.
Returns the value of this number as an Int, which may involve rounding or truncation.
Returns the value of this number as an Int, which may involve rounding or truncation.
Returns the value of this number as a Long, which may involve rounding or truncation.
Returns the value of this number as a Long, which may involve rounding or truncation.
Returns the value of this number as a Long, which may involve rounding or truncation.
Returns the value of this number as a Short, which may involve rounding or truncation.
Returns the value of this number as a Short, which may involve rounding or truncation.
Returns the value of this number as a Short, which may involve rounding or truncation.