1
User modifications / Re: Mod that comma delimits some monetary amounts
« on: February 20, 2010, 11:26:12 am »
Thanks for the suggestions. I would have used the locale in the first place, but I've always found it rather difficult to find the relevant docs on such things. Managed to find the function, however, and I'm now using it.
I'm using the numeric locale information rather than the currency specific information, because credits are being used instead of the locale's currency. In the US, for example, prefixing the credit amount with 'c' instead of '$' would just look bizarre.
Also fixed up the style, and formatted a couple other large numbers.
Updated diff attached to first post.
I'm using the numeric locale information rather than the currency specific information, because credits are being used instead of the locale's currency. In the US, for example, prefixing the credit amount with 'c' instead of '$' would just look bizarre.
Also fixed up the style, and formatted a couple other large numbers.
Updated diff attached to first post.