div

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

Enables the use of the / operator for BigDecimal instances.

The scale of the result is the same as the scale of this (divident), and for rounding the RoundingMode.HALF_EVEN rounding mode is used.

Since Kotlin

1.0

inline operator fun BigInteger.div(other: BigInteger): BigInteger(source)

Enables the use of the / operator for BigInteger instances.

Since Kotlin

1.0