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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)