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.

Comments

wim leers’s picture

Apparently the currencies of Madagascar and Mauritania are the last ones that are not decimal. Yay.

wim leers’s picture

Version: 5.x-1.x-dev » 6.x-1.x-dev

Won't be implemented in the Drupal 5 version, which is now a bugfix-only branch.

markus_petrux’s picture

Project: Money field » Format Number API
Category: task » feature

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.

wim leers’s picture


By the time we implement this, it's possible that they adjust their number system? :)

markus_petrux’s picture

Status: Postponed » Closed (won't fix)

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.