round

fun Number.round(@IntRange(from = 1) decimalCount: Int): String
fun BigDecimal.round(precision: Int = 1, roundingMode: RoundingMode = RoundingMode.HALF_UP): BigDecimal
fun Double.round(mathContext: MathContext = MathContext(1)): BigDecimal
fun Float.round(mathContext: MathContext = MathContext(1)): BigDecimal
fun Double.round(precision: Int = 1, roundingMode: RoundingMode = RoundingMode.HALF_UP): BigDecimal
fun Float.round(precision: Int = 1, roundingMode: RoundingMode = RoundingMode.HALF_UP): BigDecimal