Reporting services 四舍五入至小数点后一位
我用的是下面的表达式,有人能告诉我如何把它四舍五入到小数点后1位吗Reporting services 四舍五入至小数点后一位,reporting-services,Reporting Services,我用的是下面的表达式,有人能告诉我如何把它四舍五入到小数点后1位吗 =Round(Count(Fields!FieldName.Value)) / 8562 *100 & "%" 这是输出 49.532819434711516000934361130% 改用FormatPercent。这应该对你有用 =FormatPercent(Count(Fields!FieldName.Value) / 8562 *100,1)
=Round(Count(Fields!FieldName.Value)) / 8562 *100 & "%"
这是输出
49.532819434711516000934361130%
改用FormatPercent。这应该对你有用
=FormatPercent(Count(Fields!FieldName.Value) / 8562 *100,1)