round
Rounds the given value x towards the closest integer with ties rounded towards even integer.
Special cases:
round(x)isxwherexisNaNor+Infor-Infor already a mathematical integer.
Since Kotlin
1.2Rounds the given value x towards the closest integer with ties rounded towards even integer.
Special cases:
round(x)isxwherexisNaNor+Infor-Infor already a mathematical integer.
Since Kotlin
1.2Rounds the given value x towards the closest integer with ties rounded towards even integer.
Special cases:
round(x)isxwherexisNaNor+Infor-Infor already a mathematical integer.
Since Kotlin
1.2Rounds the given value x towards the closest integer with ties rounded towards even integer.
Special cases:
round(x)isxwherexisNaNor+Infor-Infor already a mathematical integer.
Since Kotlin
1.3Rounds the given value x towards the closest integer with ties rounded towards even integer.
Special cases:
round(x)isxwherexisNaNor+Infor-Infor already a mathematical integer.