K kim_fu Unregistered / Unconfirmed GUEST, unregistred user! 2003-01-24 #1 如数字是 123456789<br>把它变成 123,456,789 即金额显示
一 一少 Unregistered / Unconfirmed GUEST, unregistred user! 2003-01-24 #4 formatfloat('#,##0.00',333333.134)
易 易虎 Unregistered / Unconfirmed GUEST, unregistred user! 2003-01-25 #5 format('%10.2n',[123456789])<br>10.2n为长10位小数后准确2位,n 为 数值表示为千分号<br>
Z zkmltyj Unregistered / Unconfirmed GUEST, unregistred user! 2003-01-25 #6 function FormatFloat(const Format: string; Value: Extended): string;<br> s:=formatfloat('#,##0.00',1234567.02);
function FormatFloat(const Format: string; Value: Extended): string;<br> s:=formatfloat('#,##0.00',1234567.02);
B bigroute Unregistered / Unconfirmed GUEST, unregistred user! 2003-01-25 #7 format('¥%10.2f',[123.456]);