(关于QuickReport)如何将Average(S10S)的数值进行格式化显示(10分)

  • 主题发起人 主题发起人 fanhongwei
  • 开始时间 开始时间
F

fanhongwei

Unregistered / Unconfirmed
GUEST, unregistred user!
例如:
AVERAGE(S10S)的结果是6.89673,要求显示为6.90
显示两位小数(其他小数位进行四舍五入)
 
property Mask : String
Description
Use the Mask field to format the output of the TQRExpr component. If no mask is specified QuickReport will use the default formatting for the data type. Note that this might be different from the default formatting of any datafield used in the expression.
For more information on formatting numeric field please see FormatFloat in the VCL help.
For more information on formatting date and time fields please FormatDateTime in the VCL help
 
property Mask : String
Description
Use the Mask field to format the output of the TQRExpr component. If no mask is specified QuickReport will use the default formatting for the data type. Note that this might be different from the default formatting of any datafield used in the expression.
For more information on formatting numeric field please see FormatFloat in the VCL help.
For more information on formatting date and time fields please FormatDateTime in the VCL help
 
需要例程
 
后退
顶部