minus
actual fun FiniteDecimal.minus(value: FiniteDecimal, scale: Int, roundingMode: RoundingMode): BigDecimal?
actual fun FiniteDecimal.minus(value: FiniteDecimal, scale: Int, roundingMode: RoundingMode): FiniteDecimal
Subtracts two Decimal.
Return
the Decimal that is the subtraction of the two provided decimals.
Parameters
value
the Decimal to subtract
Subtracts two Decimal to a given precision.
Return
the Decimal that is the subtraction of the two provided decimals.
Parameters
value
the Decimal to subtract
scale
The number of digits a rounded value should have after its decimal point.
fun Decimal.minus(value: Decimal, scale: Int, roundingMode: RoundingMode = RoundingMode.RoundHalfEven): Decimal
Subtracts two Decimal to a given precision.
Return
the Decimal that is the subtraction of the two provided decimals.
Parameters
value
the Decimal to subtract
scale
The number of digits a rounded value should have after its decimal point.
roundingMode
The RoundingMode to apply when scaling.
actual fun FiniteDecimal.minus(value: FiniteDecimal, scale: Int, roundingMode: RoundingMode): BigDecimal?
actual fun FiniteDecimal.minus(value: FiniteDecimal, scale: Int, roundingMode: RoundingMode): FiniteDecimal
actual fun FiniteDecimal.minus(value: FiniteDecimal, scale: Int, roundingMode: RoundingMode): FiniteDecimal