Kotlin-Native-BigDecimal
Kotlin-Native-BigDecimal copied to clipboard
fun divide() should return non-null BigDecimal
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?