After doing some searching on which Java data type I should use for currency / money, I decided on the int/long method (this will allow me to store the value of the currency in its lowest units). But my question is will this apply to storing the data in XML too? My first thought was no but I could use some help. Thanks.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!