D Delphi32 Unregistered / Unconfirmed GUEST, unregistred user! 1998-10-16 #2 Is this problem ? or i cannot understand ? FloatToStr, StrToFloat many functions or procedures can deal. and... you can write some code to it youself.
Is this problem ? or i cannot understand ? FloatToStr, StrToFloat many functions or procedures can deal. and... you can write some code to it youself.
J jiangtao Unregistered / Unconfirmed GUEST, unregistred user! 1998-10-16 #3 delphi的float类型有single,double,extended 转换必须分别处理: 使用库函数FloatToStrF,StrToFloat 你可以查help它的用法. 给一个sample转换extended E:Extended; FloatToStrF (E, ffFixed, 18, Decimals) 18是Extended的精度 ffFixed指格式,Decimals是小数点后精度
delphi的float类型有single,double,extended 转换必须分别处理: 使用库函数FloatToStrF,StrToFloat 你可以查help它的用法. 给一个sample转换extended E:Extended; FloatToStrF (E, ffFixed, 18, Decimals) 18是Extended的精度 ffFixed指格式,Decimals是小数点后精度