Support for insane formatting
Wim Leers - October 28, 2007 - 21:45
| Project: | Format Number API |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | won't fix |
Jump to:
Description
Some currencies require insane formatting... For example, the Tanzanian Shilling: http://en.wikipedia.org/wiki/Tanzanian_shilling#Symbol
Marking this as postponed. The amount of extra code required for this very non-standard formatting is not worth it.

#1
Apparently the currencies of Madagascar and Mauritania are the last ones that are not decimal. Yay.
#2
Won't be implemented in the Drupal 5 version, which is now a bugfix-only branch.
#3
Money CCK field in D6 uses Format Number API to render the numbers on output, so this seems more a task for the other project.
Switching projects... and patches welcome. It would be nice to know about an alterative to Wikiepedia (or someone who can post links to examples) to see exactly how this needs to be done. Maybe the wikipedia articles talks just about something that's used only not when working with computers? I'm sorry, but I don't know nothing about this. I would be glad to learn more, because knowledge it always welcome.
#4
By the time we implement this, it's possible that they adjust their number system? :)
#5
Just for curiosity I've been reading about it following links from the Wikipedia article. Interesting, and I think I got it. However, this would add an "unnecessary" level of complexity to this module.
If there was a real need for this, then I would be glad to add a hook or something similar, so the method to render formatted numbers can be overriden by an optional module that could be part of this package, or as a separate project.
Honestly, I don't have the time, so I would simply say "won't fix", at least until the real need arises(*).
(*) Assuming that this request was just for curiosity, please correct me if I'm wrong.