What data type to use for money in Java? [closed]

Java has Currency class that represents the ISO 4217 currency codes.
BigDecimal is the best type for representing currency decimal values.

Joda Money has provided a library to represent money.

Leave a Comment