Forum > Third party
MyEditDB Vers. 0.97 ** Upgrade Last Post Vers. 1.00 **
theo:
I don't think it's the format function that fails.
This:
--- Code: ---const NumFormatDisplay='%12.2n';
begin
Edit1.Text:=Format(NumFormatDisplay,[1234.56]);
Writeln(Format(NumFormatDisplay,[1234.56]));
--- End code ---
Shows correct (afaik) and identical values.
Must be something else in your code.
laguna:
The problem occurs after I add the form LazReport, only linux
So, before putting on the form frReport1 the conversion is done correctly.
After the addition of control frReport 1 and (uses lazreport on project and LR_DBSet, >:(LR_Class >:(, LR_Desgn on unit1;) as a value from 1, not 1,234.56
unit LR_Class;
interface
{$I LR_Vers.inc}
uses
SysUtils, Classes, Controls, FileUtil,
Forms, ComCtrls, Dialogs, Menus,
Variants, DB,Graphics,Printers,osPrinters,XMLConf,
LCLType,LCLIntf,TypInfo,LCLProc,
//:DSysUtilsAdds, >:D // <------ :)remove this unit Format correct outpu :)t
LR_View, LR_Pars, LR_Intrp, LR_DSet, LR_DBSet, LR_DBRel, LR_Const;
Navigation
[0] Message Index
[*] Previous page