Hi Guys,
Here I found one more really interesting thing in the SSRS expression scripting.
1. Format()
2. CurrencyFormat()
If you're dealing with the string datatype that needs to display the value with out any separation you can go head with this
Str YourFields = "10000";
Format(=Fields!YourFields.Value, "0.00")
the results will be "10000.00".
This will not give you the separated values like "100,00.00"
If it's a real data type you're dealing with than the above statement won't work to return the value with the separated, So the expression goes below to achieve this:
Real YourFields = "10000";
CurrencyFormat(=Fields!YourFields.Value) or Format(=Fields!YourFields.Value, "C")
the results will be "100,00.00" and the out put with the separator are pulling from the system and regional setting in the system.
Note: There are several parameters are available with the "CurrencyFormat()" function one can utilize according to their needs.
Here I found one more really interesting thing in the SSRS expression scripting.
1. Format()
2. CurrencyFormat()
If you're dealing with the string datatype that needs to display the value with out any separation you can go head with this
Str YourFields = "10000";
Format(=Fields!YourFields.Value, "0.00")
the results will be "10000.00".
This will not give you the separated values like "100,00.00"
If it's a real data type you're dealing with than the above statement won't work to return the value with the separated, So the expression goes below to achieve this:
Real YourFields = "10000";
CurrencyFormat(=Fields!YourFields.Value) or Format(=Fields!YourFields.Value, "C")
the results will be "100,00.00" and the out put with the separator are pulling from the system and regional setting in the system.
Note: There are several parameters are available with the "CurrencyFormat()" function one can utilize according to their needs.