X xiaoxiami0 Unregistered / Unconfirmed GUEST, unregistred user! 2002-06-17 #1 我想让16.2348762873468723保留两位小数,用什么函数啊,怎么用啊?
南 南宫吹云 Unregistered / Unconfirmed GUEST, unregistred user! 2002-06-17 #2 formatfloat('0.00',16.2348762873468723)
L li_zhifu Unregistered / Unconfirmed GUEST, unregistred user! 2002-06-17 #3 formatfloat('0.00',16.2348762873468723); or format('%.2f',[16.2348762873468723]);
L linsb Unregistered / Unconfirmed GUEST, unregistred user! 2002-06-17 #6 var fNum:real; ... fnum:=StrToFloat(format('%.2f',[16.2348762873468723]))
L li_zhifu Unregistered / Unconfirmed GUEST, unregistred user! 2002-06-17 #7 formatfloat('0.00',16.2348762873468723); or format('%.2f',[16.2348762873468723]);