What is the Scala's analogue to C#'s decimal? Should I use java.math.BigDecimal or is there own standard type for this in Scala?
There is scala.math.BigDecimal which is already imported in Predef. This is only a wrapper around java.math.BigDecimal that uses operator names for methods (like e.g. + instead of add).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With