Kotlin's version of BigDecimal

What are specific difficulties arise when using BigDecimal, besides the absence of literals?

val Int.bd: BigDecimal get() = BigDecimal(this)
val number2 = 1_000_000.bd

similar topic:

1 Like