On Sat, 9 Jun 2012, Leonardo M. Ramé wrote:

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?.

Did you use the CLocale unit ?

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to