round

Rounds the input to the nearest integer. Halfway values are rounded away from zero. For example, ["round", -1.5] evaluates to -2.

fun round(block: Expression.ExpressionBuilder.() -> Unit): Expression
fun round(value: Double): Expression