times
Multiplies two Decimal.
Return
the Decimal that is the multiplication of the two provided decimals.
Parameters
value
the Decimal to multiply
Multiplies two Decimal to a given precision.
Return
the Decimal that is the multiplication of the two provided decimals.
Parameters
value
the Decimal to multiply
scale
The number of digits a rounded value should have after its decimal point.
fun Decimal.times(value: Decimal, scale: Int, roundingMode: RoundingMode = RoundingMode.RoundHalfEven): Decimal
Multiplies two Decimal to a given precision.
Return
the Decimal that is the multiplication of the two provided decimals.
Parameters
value
the Decimal to multiply
scale
The number of digits a rounded value should have after its decimal point.
roundingMode
The RoundingMode to apply when scaling.