We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [currency]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
3answers
1k views

How to manage different currencies on the same e-commerce system?

Having one e-commerce system for multiple markets. Having markets related 1:1 to currencies. Having one database storing all order information (cost, price, invoicing) How to manage different ...
12
votes
4answers
2k views

Is there a single data representation that works for all currencies (even those different from Dollars, Euros, and Pounds)?

I can find many questions about libraries to use for representing amounts in some currency. And about the age old issue of why you shouldn't store currency as an IEEE 754 floating point number. But I ...
0
votes
0answers
52 views

Foreign currency processing

We are looking to expand our e-commerce store to allow customers in countries outside of the United States to shop and see prices specific to their region. The prices are not just straight markups ...
11
votes
3answers
29k views

Why is BigDecimal the best data type for currency? [duplicate]

I was reading this question and the accepted answer says that BigDecimal is the best type for representing currency values. I've also seen several other questions support the use of big decimal. Why ...
5
votes
1answer
1k views

Custom class for monetary amount (money value) instead of BigDecimal

On StackOverflow I found multiple advices to stick with BigDecimal in Java instead of reinventing the wheel. Despite that, I decided to create my custom class, and I would ask if that was a good idea ...