Extensions for java.math.BigDecimal

dec

operator fun BigDecimal.dec(): BigDecimal

Enables the use of the unary -- operator for BigDecimal instances.

div

operator fun BigDecimal.div(other: BigDecimal): BigDecimal

Enables the use of the / operator for BigDecimal instances.

inc

operator fun BigDecimal.inc(): BigDecimal

Enables the use of the unary ++ operator for BigDecimal instances.

minus

operator fun BigDecimal.minus(other: BigDecimal): BigDecimal

Enables the use of the - operator for BigDecimal instances.

mod

operator fun BigDecimal.mod(other: BigDecimal): BigDecimal

Enables the use of the % operator for BigDecimal instances.

plus

operator fun BigDecimal.plus(other: BigDecimal): BigDecimal

Enables the use of the + operator for BigDecimal instances.

rem

operator fun BigDecimal.rem(other: BigDecimal): BigDecimal

Enables the use of the % operator for BigDecimal instances.

times

operator fun BigDecimal.times(other: BigDecimal): BigDecimal

Enables the use of the * operator for BigDecimal instances.

unaryMinus

operator fun BigDecimal.unaryMinus(): BigDecimal

Enables the use of the unary - operator for BigDecimal instances.