search for: number_to_currrency

Displaying 1 result from an estimated 1 matches for "number_to_currrency".

Did you mean: number_to_currency
2010 Oct 30
0
number_to_currrency formats negative numbers incorrectly
Right now, if you call number_to_currency(-1.23), it will return "$-1.23". This is not correct in most cases. It should be "-$1.23" and it should allow for other negative formats like "($1.23)". I made a ticket for this and submitted a patch with more information: