[reporting-services] SSRS custom number format

I am go to generate an excel file from SSRS, and

I want to format the number like this...

  • 15 is displayed as 15

  • 14.3453453 is displayed as 14.35

  • 12.1 is displayed as 12.1

  • 0 is displayed as 0

  • 1 is displayed as 1

I can apply this in Excel but unable to apply in SSRS

[=0]0;[=1]1;0.##

ssrs error message

Does anyone can suggest another way for me? Thanks!

The answer is


Have you tried with the custom format "#,##0.##" ?


You can use

 =Format(Fields!myField.Value,"F2")