Number (original) (raw)

Superclass for all platform classes representing numeric values.

Since Kotlin

1.0

Inheritors

Superclass for all platform classes representing numeric values.

Since Kotlin

1.1

Inheritors

Superclass for all platform classes representing numeric values.

Since Kotlin

1.0

Inheritors

Superclass for all platform classes representing numeric values.

Since Kotlin

1.3

Inheritors

Constructors

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 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 Char with the numeric value equal to this number, truncated to 16 bits if appropriate.

Returns the value of this number as a Double, which may involve rounding.

Returns the value of this number as a Double, which may involve rounding.

Returns the value of this number as a Double, which may involve rounding.

Returns the value of this number as a Double, which may involve rounding.

Returns the value of this number as a Float, which may involve rounding.

Returns the value of this number as a Float, which may involve rounding.

Returns the value of this number as a Float, which may involve rounding.

Returns the value of this number as a Float, which may involve rounding.

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 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 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.

Returns the value of this number as a Short, which may involve rounding or truncation.