string - Format a double value like currency but without the currency sign (C#) -
I have a text box with a string value feed that shows me a balance that needs to be formatted as follows: / P>
###, ###, ###, ###
I can use the price. Toastring ("c"), but it will put currency sign in.
Any idea that I will manipulate the string before feeding the text box to achieve the given formatting?
I tried, without success:
string.format ("###, ###, ###, ## 0.00", Current Balance) ;
Many thanks,
for display = currentBalance .ToString ("N2");
Comments
Post a Comment