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(vararg expressions: Array<out Expression>): Expression
fun round(value: Double): Expression

DSL function for "round".

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