Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RDLC format number function

I have values in a db:

10.4
33
42.87
1.01
22.1
8

I know I can format numbers in my RDLC reports, however, how can I make sure that the output of the data will always be:

10.40
33.00
42.87
1.01
22.10
8.00

you will notice that I need to show two decimal points, even if the number has none,

like image 759
stoic Avatar asked Mar 14 '14 10:03

stoic


1 Answers

Argh.... google helped, it is quite simple:

=FormatNumber(Fields!SomeField.Value,2)
like image 177
stoic Avatar answered Sep 21 '22 10:09

stoic