Feature #9313

Support for currencies

Added by Karol Gusak over 10 years ago. Updated about 9 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
I18n
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

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.


Related issues

Related to TYPO3.Fluid - Feature #33143: Allow Format.Currency ViewHelper regard LocaleResolvedAdrian Föder2012-01-12

Actions
#1

Updated by Karsten Dambekalns over 10 years ago

  • Status changed from New to Needs Feedback
  • Assignee set to Karol Gusak

Karol, could you handle this?

#2

Updated by Karsten Dambekalns over 10 years ago

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...

#3

Updated by Karol Gusak over 10 years ago

  • Status changed from Needs Feedback to Accepted

I will definately look at it.

#4

Updated by Karsten Dambekalns about 9 years ago

  • Status changed from Accepted to New
  • Assignee deleted (Karol Gusak)
  • Has patch set to No

Also available in: Atom PDF