ID| Value | Resolution
1 | 123.456 | 3
2 | 123.456 | 0
3 | 123.456 | 2
I want to display Value with decimal places defined in Resolution. So in consecutive detail sections each Value should be formated differently. Like this:
123,456
123
123,46
Now to achieve this I use the expression:
Code: Select all
{Replace(Format("{0:N"+MyData.Resolution+"}", MyData.Value), " ", ",")}
Something like N{MyData.Resolution} ?
Thank you.