What is the standard decimal type in Scala 2.9?

What is a Scala C # decimal analogue? Should I use java.math.BigDecimal or is there a native standard type for this in Scala?

+7
source share
1 answer

There is scala.math.BigDecimal that is already imported into Predef . This is just a java.math.BigDecimal shell that uses operator names for methods (e.g. + instead of add ).

+13
source

All Articles