[fpc-pascal] Currency symbol wrong location

Leonardo M. Ramé martinrame at yahoo.com
Sat Jun 9 16:56:27 CEST 2012


Hi, I want to format a float number to currency. To do this, I use the Format function using the %m format, as this:

Format('%m', [123.25]);

I'm using Ubuntu 12.04 and my regional settings at configured to display "$ 1234.25", but I'm getting "123.25$", why is the money symbol at the right side, instead of using the regional setting?.


Leonardo M. Ramé
http://leonardorame.blogspot.com 



More information about the fpc-pascal mailing list