[Lazarus] whats wrong with that line of code?

Michael Van Canneyt michael at freepascal.org
Sat Aug 15 11:40:58 CEST 2015



On Sat, 15 Aug 2015, John Landmesser wrote:

> CurrencyString shows €
>
> FormatCurr('%M',111111111) -> %M
>
> Expected a currency string as '111.111.111,00 €'
>
> System: Linux, Debian Sid
>
> sorry for that really idiotic question :-))

Why do you think %M is a formatting character ?

Valid formatting characters are described at:

http://www.freepascal.org/docs-html/rtl/sysutils/formatfloat.html

Michael.


More information about the Lazarus mailing list