T twk Unregistered / Unconfirmed GUEST, unregistred user! 2001-11-29 #1 怎样可以死定数字后一定有两位小数?好象这样(49.00或50.10)
P pt_email Unregistered / Unconfirmed GUEST, unregistred user! 2001-11-29 #3 如果是数据库字段,设置DisplayFormat:='##.##'.
D dadabox Unregistered / Unconfirmed GUEST, unregistred user! 2001-11-29 #5 這分可真好掙。 formatfloat('#.##',123.423534)=123.42 如果在數據庫中用Field.DisplayFormat:='#.##'.
C cnaoszh Unregistered / Unconfirmed GUEST, unregistred user! 2001-11-29 #6 var test:double; begin Test:=FormatFloat('#.##',1234.333); end; delphi help has the description good luck
var test:double; begin Test:=FormatFloat('#.##',1234.333); end; delphi help has the description good luck
D DELPHI鸟 Unregistered / Unconfirmed GUEST, unregistred user! 2001-11-29 #8 []我来晚了,大家已经答完了! edit1.text := FormatFloat('0.00',QUERY1.FieldByName('field').AsFloat);
A antic_ant Unregistered / Unconfirmed GUEST, unregistred user! 2001-11-29 #9 str:=formatfloat('0.00',123456);
T twk Unregistered / Unconfirmed GUEST, unregistred user! 2001-11-29 #11 甘简单的问题我都唔是啉下。。真是懒啊。。。 就将分数平分吧。。。不过还差两个人不每人10分。。。 快来两个。。。。:)