KotlinNumberround
floor

roundNumber

toInt

Rounds the given value to the nearest integer.

Syntax

kotlin.math.round(x)