0

Good Day!

I need some idea on how can I format the final value with (2) decimal places/round off of code below.

 =Count(Fields!rClosedDate.Value) / Count(Fields!PostDate.Value) * 100 & "%"

Thanks in advance.

Carisle
  • 447
  • 3
  • 7
  • 15

1 Answers1

3

You can specify a format for numeric values using the Format property of the TextBox.

Examples of formatting string (full list here):

  • c: currency
  • d: decimal
  • p: percentage

To specify 2 decimal places you can set a formatting string like this: p2

tezzo
  • 10,858
  • 1
  • 25
  • 48
  • [Here](http://stackoverflow.com/a/39305134/2218697) is my answer to set 3 decimal places without rounding off , is that correct ? – Shaiju T Sep 03 '16 at 09:03