Hello
I need to have numbers with two and four decimals. I can see at the text format that you can choose that, but it's applied to all the numbers. How can i do this?
Regards,
Cristina
Numbers with two and four decimals
-
- Posts: 2
- Joined: Wed Jun 15, 2016 12:13 pm
-
- Posts: 2
- Joined: Wed Jun 15, 2016 12:13 pm
Re: Numbers with two and four decimals
i found it custom format #.0000
Re: Numbers with two and four decimals
Hello,
As a way, you can use the following expression:
Thank you.
As a way, you can use the following expression:
Code: Select all
{YourCondition ? DataSourceName.ColumnName.ToString("N2") : DataSourceName.ColumnName.ToString("N4")}