S snow Unregistered / Unconfirmed GUEST, unregistred user! 1999-09-05 #1 例: a=1111111.01 如何用format函数实现1,111,111.01,并且打印出的数字右对齐
A Another_eYes Unregistered / Unconfirmed GUEST, unregistred user! 1999-09-05 #2 format('%10.2n',[a]);
C cytown Unregistered / Unconfirmed GUEST, unregistred user! 1999-09-06 #3 ShowMessage(format('%n',[a]));
C colinyan Unregistered / Unconfirmed GUEST, unregistred user! 1999-09-07 #4 FormatFloat('###,##0.##',a); 至于向右对齐,要看你使用的是什么控件了。
J jasonfu Unregistered / Unconfirmed GUEST, unregistred user! 1999-10-09 #5 如果你用QuickReport 还得把该对象的属性Alignment 设为:taRightJustify