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.
More Related Contents:
- JAVA variable as 2 types [closed]
- evaluate expression in java [closed]
- Currency.getSymbol() returning “US$”
- Is there a way to refer to the current type with a type variable?
- What’s the difference between primitive and reference types?
- Convert float to String and String to float in Java
- Representing Monetary Values in Java [closed]
- Why can Java Collections not directly store Primitives types?
- How to format decimals in a currency format?
- Using BigDecimal to work with currencies
- make arrayList.toArray() return more specific types
- Converting stream of int’s to char’s in java
- Java Raw Type and generics interaction
- why byte += 1 compile but byte = byte + 1 not?
- What is the inclusive range of float and double in Java?
- Unsigned short in Java
- What to do with Java BigDecimal performance?
- Difference between class and type
- Is there a default type for numbers in Java
- Switch over type in java
- How do you know a variable type in java? [duplicate]
- How to round up integer division and have int result in Java? [duplicate]
- How do I create some variable type alias in Java
- Java interfaces and return types
- Converting different countrys currency to double using java [duplicate]
- How to convert IEEE-11073 16-bit SFLOAT to simple float in Java?
- Which one to use, int or Integer
- Java double comparison epsilon
- Java Primitive Types: int vs. Integer
- List is a raw type. References to generic type List should be parameterized