Number
Superclass for all platform classes representing numeric values.
Since Kotlin
1.0Inheritors
Superclass for all platform classes representing numeric values.
Since Kotlin
1.1Inheritors
Superclass for all platform classes representing numeric values.
Since Kotlin
1.0Inheritors
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.