Extensions for java.math.BigDecimal

JVM
1.2

dec

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

operator fun BigDecimal.dec(): BigDecimal
JVM
1.0

div

Enables the use of the / operator for BigDecimal instances.

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

inc

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

operator fun BigDecimal.inc(): BigDecimal
JVM
1.0

minus

Enables the use of the - operator for BigDecimal instances.

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

mod

Enables the use of the % operator for BigDecimal instances.

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

plus

Enables the use of the + operator for BigDecimal instances.

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

rem

Enables the use of the % operator for BigDecimal instances.

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

times

Enables the use of the * operator for BigDecimal instances.

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

unaryMinus

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

operator fun BigDecimal.unaryMinus(): BigDecimal