round

fun round(value: Double): Double

Rounds value to 2 decimal points.

Return

rounded value

Parameters

value

value to round


fun round(value: Double, digits: Int): Double