div

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

Division operator for KBigDecimal with default scale and rounding.

Receiver

The dividend

Return

The quotient with scale 10 and HALF_UP rounding

Parameters

other

The divisor

Throws

if other is zero


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

Division operator for KBigInteger.

Receiver

The dividend

Return

The quotient of this divided by other

Parameters

other

The divisor

Throws

if other is zero