[Lazarus] FormatFloat('#,##.00', -1) -> .-1,00
John Landmesser
jmlandmesser at gmx.de
Mon Sep 7 18:08:06 CEST 2015
ok, no i see may mistake:
three symbols!!
'#,##0.00' or '#,###.00'
sorry!!
On 07.09.2015 17:55, Werner Pamler wrote:
>
>> thousandseperator := '|';
>>
>> FormatFloat('#,##.00', -10);
>>
>> result:
>> *|*-10,00
>
> The behavior that you observe is a bit strange, maybe it is a bug. But
> you can avoid it by putting three symbols between thousand and decimal
> separator, i.e. use '#,##0.00' or '#,###.00'.
>
>
> --
> _______________________________________________
> 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/20150907/4e851a80/attachment-0003.html>
More information about the Lazarus
mailing list