L liminhan Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-04 #1 string输出为带两位小数点,请举例,方便时,告一下format函数,举例,谢谢 !
B bianlx Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-04 #3 Format('%8.2f', [123.456])
O only you Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-04 #4 format(格式,动态数组); showmessage(format('%8.2f',[1234.456])); 即可输出两位小数
H hunter0401 Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-04 #5 Format('%.2f',[Value])
H hf_waj Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-04 #6 FormatFloat('0.00',123.456)
M misxjq Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-04 #7 Format('%8.2f', [123.456])
L liminhan Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-04 #8 string 为变量。Format('0.00',[变量名称]) 显示为变量,而非变量所带的值。我要输出变量所带的值,咋办呢?
H HunterTeam Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-04 #9 format('%8.2f',stringtofloat(string变量));