Click here to Skip to main content
15,889,909 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I want to format a numeric value to two decimal points (it is an integer variable)
I am using following expression (as used to use in vb6) but it is not working. Please advise how to fix it.
="Total Drawings Rs. " & format(Parameters!TotalDrawings.Value,"@@@@@@@@@@@.00")"
Thanks
Furqan
Posted
Updated 16-Nov-17 19:59pm

Use
=Format(CDbl(Parameters!New.Value), "###,#######0.00")

This is the only thing that works ............
 
Share this answer
 
Comments
thatraja 19-Jun-11 3:27am    
Did you check the 2nd link in my answer? It has many formats.
Here you go

Expression Examples (Report Builder 3.0 and SSRS)[^]

EDIT
---------------------------------
Format to 2 decimal places[^]
 
Share this answer
 
v2
Comments
Furqan Sehgal 18-Jun-11 2:14am    
Thank you but I could not find solution to my problem. Did I overlook something?
Thanks
Furqan
thatraja 18-Jun-11 7:05am    
oops, my bad. check my updated answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900