Why would the compiler not allow me to call `intVa...
# compiler
m
Why would the compiler not allow me to call
intValue()
on
BigDecimal
? https://pl.kotl.in/kC_HQAcM2
e
Kotlin hides Java's
Number
interface and replaces it with its own; you want the method
.toInt()
m
That's pretty confusing 😕 would be nice to have an IDE hint there