plus
Adds two Decimal together.
Return
the Decimal that is the total of the two provided decimals.
Parameters
value
the Decimal to add
Adds two Decimal together scaled to a given precision.
Return
the Decimal that is the total of the two provided decimals.
Parameters
value
the Decimal to add
scale
The number of digits a rounded value should have after its decimal point.
fun Decimal.plus(value: Decimal, scale: Int, roundingMode: RoundingMode = RoundingMode.RoundHalfEven): Decimal
Adds two Decimal together scaled to a given precision.
Return
the Decimal that is the total of the two provided decimals.
Parameters
value
the Decimal to add
scale
The number of digits a rounded value should have after its decimal point.
roundingMode
The RoundingMode to apply when scaling.
Gets a KalugaDate that is duration after this date.
Return
A KalugaDate that is duration after this date
Parameters
duration
the Duration to add to this date.