Float
Represents a single-precision 32-bit IEEE 754 floating point number. On the JVM, non-nullable values of this type are represented as values of the primitive type float
.
Since Kotlin
1.1Represents a single-precision 32-bit IEEE 754 floating point number. On the JVM, non-nullable values of this type are represented as values of the primitive type float
.
Since Kotlin
1.0Types
Functions
Ensures that this value is not less than the specified minimumValue.
Ensures that this value is not greater than the specified maximumValue.
Ensures that this value lies in the specified range minimumValue..maximumValue.
Compares this value with the specified value for order. Returns zero if this value is equal to the specified other value, a negative number if it's less than other, or a positive number if it's greater than other.
Compares this value with the specified value for order. Returns zero if this value is equal to the specified other value, a negative number if it's less than other, or a positive number if it's greater than other.
Divides this value by the other value.
Returns true
if this value is infinitely large in magnitude.
Subtracts the other value from this value.
Adds the other value to this value.
Calculates the remainder of truncating division of this value by the other value.
Calculates the remainder of truncating division of this value by the other value.
Multiplies this value by the other value.