数据库字段为FLOAT 
在DBGRID中显示0.00005为科学记数

解决方案 »

  1.   

    在你绑定的数据库字段中设置,
    搜索一下帮助文件中对 Field.DisplayFormat 的定义。
    例如下面的我的实例代码:var
      Field: TField;
    begin
      if DataSet.Active then
      begin
        for i:=0 to DataSet.FieldCount-1 do
        begin
          Field := DataSet.Fields[i];
          Field.DisplayLabel := '888888';
          if Field is TNumericField then
              (Field as TNumericField).DisplayFormat := '0.00000';
        end;
      end;
    end;