floor
Rounds the given value x to an integer towards negative infinity.
Since Kotlin
1.2Return
the largest double value that is smaller than or equal to the given value x and is a mathematical integer.
Special cases:
floor(x)isxwherexisNaNor+Infor-Infor already a mathematical integer.
Rounds the given value x to an integer towards negative infinity.
Since Kotlin
1.2Return
the largest Float value that is smaller than or equal to the given value x and is a mathematical integer.
Special cases:
floor(x)isxwherexisNaNor+Infor-Infor already a mathematical integer.
Rounds the given value x to an integer towards negative infinity.
Since Kotlin
1.2Return
the largest double value that is smaller than or equal to the given value x and is a mathematical integer.
Special cases:
floor(x)isxwherexisNaNor+Infor-Infor already a mathematical integer.
Rounds the given value x to an integer towards negative infinity.
Since Kotlin
1.2Return
the largest Float value that is smaller than or equal to the given value x and is a mathematical integer.
Special cases:
floor(x)isxwherexisNaNor+Infor-Infor already a mathematical integer.
Rounds the given value x to an integer towards negative infinity.
Since Kotlin
1.2Return
the largest double value that is smaller than or equal to the given value x and is a mathematical integer.
Special cases:
floor(x)isxwherexisNaNor+Infor-Infor already a mathematical integer.
Rounds the given value x to an integer towards negative infinity.
Since Kotlin
1.2Return
the largest Float value that is smaller than or equal to the given value x and is a mathematical integer.
Special cases:
floor(x)isxwherexisNaNor+Infor-Infor already a mathematical integer.
Rounds the given value x to an integer towards negative infinity.
Since Kotlin
1.3Return
the largest double value that is smaller than or equal to the given value x and is a mathematical integer.
Special cases:
floor(x)isxwherexisNaNor+Infor-Infor already a mathematical integer.
Rounds the given value x to an integer towards negative infinity.
Since Kotlin
1.3Return
the largest Float value that is smaller than or equal to the given value x and is a mathematical integer.
Special cases:
floor(x)isxwherexisNaNor+Infor-Infor already a mathematical integer.