Currencies should probably be handled in a special way in FLOW3. Maybe there should be a
Currency class which would store the decimal value and the international currency code?
This would provide a nice way to store and display money amounts.
- Status changed from New to Needs Feedback
- Assignee set to Karol Gusak
Karol, could you handle this?
When dealing with decimals, never use decimals :) Store integers only, i.e. multiply by 100 for common cent-based currencies. This helps to avoid rounding errors, have a look at Robert's moneylib extension for some inspiration...
- Status changed from Needs Feedback to Accepted
I will definately look at it.
- Status changed from Accepted to New
- Assignee deleted (
- Has patch set to No
Also available in: Atom