Kotlin-Native-BigDecimal icon indicating copy to clipboard operation
Kotlin-Native-BigDecimal copied to clipboard

fun divide() should return non-null BigDecimal

Open mak1nt0sh opened this issue 6 months ago • 0 comments

The divide(divisor: BigDecimal, scale: Int, roundingMode: RoundingMode?) method incorrectly has a nullable return type BigDecimal?, but it never returns null.

Current signature:

fun divide(divisor: BigDecimal, scale: Int, roundingMode: RoundingMode?): BigDecimal?

mak1nt0sh avatar Oct 04 '25 06:10 mak1nt0sh