round

Rounds the Money using the current rounding strategy.

Return

The rounded Money.


infix fun round(mode: RoundingMode): Money(source)

Rounds the Money using the specified mode.

Return

The rounded Money.

Parameters

mode

The rounding mode to round the monetary amount.


infix fun round(rounding: Rounding): Money(source)

Rounds the Money using the specified rounding strategy.

Return

The rounded Money.

Parameters

rounding

The rounding strategy to round the monetary amount.