[Lazarus] whats wrong with that line of code?
John Landmesser
jmlandmesser at gmx.de
Sat Aug 15 12:11:37 CEST 2015
Hi Michael,
sorry, i still don't get it:
Help to FormatFloat tells me:
"FormatFloat formats the floating-point value given by Value using the
format specifications in Format."
.. and help to Format:
"M Currency Format ..."
So please correct my,
FormatCurr('%M',111111111)
so i am able to understand my mistakes ...
thank you!
Ok, i'm stupid!!!
On 15.08.2015 11:40, Michael Van Canneyt wrote:
>
>
> 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.
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150815/13258a10/attachment-0003.html>
More information about the Lazarus
mailing list