I would like to format the number 12345 into 12,345. How can I achieve this?
in C#:int num = 1234567890;
String numFormatted = num.ToString("#,#");
Check out this documentation for more specifics on number formatting:
http://msdn2.microsoft.com/en-us/library/0c899ak8(VS.71).aspx
|||I would like to acheive this in reporting services.
|||I found out. I can make it using the format tab in properties of the textbox
No comments:
Post a Comment