kotlin.java.math.BigDecimal.div

div

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

Platform and version requirements: JVM

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.

© 2010–2017 JetBrains s.r.o.
Licensed under t