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@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to