Re: RE : [fpc-pascal] Currency symbol wrong location

2012-06-09 Thread Leonardo M . Ramé
- Original Message - > From: Ludo Brands > To: 'FPC-Pascal users discussions' > Cc: > Sent: Saturday, June 9, 2012 12:54 PM > Subject: RE : [fpc-pascal] Currency symbol wrong location > >> This is as per doc? >> >> http://www.fre

RE : [fpc-pascal] Currency symbol wrong location

2012-06-09 Thread Ludo Brands
> This is as per doc? > > http://www.freepascal.org/docs-html/rtl/sysutils/format.html > > FloatToStrF(Argument,ffGeneral,Precision,3) > > MCurrency format. the next argument in the var{Args} > array must be a > floating point value. The argument is converted to a decimal > string using cu

Re: [fpc-pascal] Currency symbol wrong location

2012-06-09 Thread Marco van de Voort
In our previous episode, Leonardo M. Ram? said: > 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 gett

Re: [fpc-pascal] Currency symbol wrong location

2012-06-09 Thread Michael Van Canneyt
On Sat, 9 Jun 2012, Leonardo M. Ramé wrote: - Original Message - From: Michael Van Canneyt To: Leonardo M. Ramé ; FPC-Pascal users discussions Cc: Sent: Saturday, June 9, 2012 11:59 AM Subject: Re: [fpc-pascal] Currency symbol wrong location On Sat, 9 Jun 2012, Leonardo M

Re: [fpc-pascal] Currency symbol wrong location

2012-06-09 Thread Leonardo M . Ramé
- Original Message - > From: Leonardo M. Ramé > To: FPC-Pascal users discussions > Cc: > Sent: Saturday, June 9, 2012 12:31 PM > Subject: Re: [fpc-pascal] Currency symbol wrong location > > - Original Message - > >> From: Michael Van Canneyt

Re: [fpc-pascal] Currency symbol wrong location

2012-06-09 Thread Leonardo M . Ramé
- Original Message - > From: Michael Van Canneyt > To: Leonardo M. Ramé ; FPC-Pascal users discussions > > Cc: > Sent: Saturday, June 9, 2012 11:59 AM > Subject: Re: [fpc-pascal] Currency symbol wrong location > > > > On Sat, 9 Jun 2012, Leonardo M. Ra

Re: [fpc-pascal] Currency symbol wrong location

2012-06-09 Thread Michael Van Canneyt
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 "12