RDLC format number function

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

=FormatNumber(Fields!SomeField.Value,2)

FormatCurrency(Expression as object, NumDigitsAfterZero as tristate, IncludingLeadingDigit as tristate, UwseParenseForNegativeNumbers as tristate, GroupDigits as tristate) as string

I tried using the Number tab settings for the placeholder and that didn't do anything. The above works.


Right click that Control[TextBox] in RDLC, TextBox Properties, SelectNumber,CAtegory-Number , See Decimal Places is 2, Click Ok.


You can also use Format property of your TextBox; for example:

Format = "f2"

Using Format you can use "c" to format currency (i.e. "c2").