European number format - the rational ruby way

The Globalize plugin has international number formatting for its currency classes, you could have a look at how they’ve done it.

Best regards

Peter De Berdt