Friday 21 September 2007

NumberFormat issue answered

I posted my issue on MSDN to see if anyone knew what i was doing wrong or if there was a workaround but one of the answers i got made some sense as far as explaining the omission of a "pence" symbol on the NumberFormat object.

Posted by IsshouFuuraibou...
I think because "pence" or cent symbol is an exception to the rule and not the standard. In many cases monetary systems don't have "pence" currency. For example the smallest denomination for the Japanese Yen is 1 Yen. This is true in many other currencies. You'll also see that in all cases where you have a "pence" symbol, you can also format it as "$"0.00. From what I've seen the culture info doesn't store the pence symbol.


The full thread is here.

While that is a fairly reasonable explanation it still seems to be a fairly large omission. Although the "pence" symbol is the exception to the rule it is applicable to a large portion of the world, all of Europe Australia, the US. Sounds like a flaw to me, surely you include it where applicable and omit it in the other cases?

No comments: