with

open infix fun with(precision: Int): Rounding(source)

Returns a new Rounding with the given precision, keeping the current rounding mode.

Return

A Rounding object.

Parameters

precision

The precision scale to round a value.