Possible Duplicate:
How do I format a double to currency rounded to the nearst dollar?
How can i remove decimal from a currency?
Here is how I format a number to currency:
string.Format("{0:C}", Amount)
The output is $20,000,000.00 but I need $20,000,000
Thanks in advance
Specify you want zero decimal places:
String.Format("{0:C0}",Amount)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With