We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

What is the correct "Currency Format" to display $123,456.78

Thread ID:





98305 Feb 18,2011 03:38 PM UTC Feb 21,2011 05:56 AM UTC ASP.NET Web Forms (Classic) 1
Tags: XlsIO
Ram Thatikonda
Asked On February 18, 2011 03:38 PM UTC

I tried the format "$#,##0" but when opened in excel it shows as Custom format even though the value is displayed correct.

sheet[row, column++].NumberFormat = "$#,##0"

How do I fix the format to Currency in excel?


John Bowlin Bosco K [Syncfusion]
Replied On February 21, 2011 05:56 AM UTC

Hi Ram,

Thank you very much for your interest in Syncfusion Products.

Using Essential XlsIO, the currency format is implemented in customized format as you mentioned. We can format the value to currency with the help of using number format
sheet.UsedRange.NumberFormat = "$#,##0.00";
which will format the value of 123456.78 as "$123456.78". But the cell format will be shown as custom format and it cannot be shown as currency format using XlsIO.

Please let us know if you need any clarifications.

Pauline Bosco.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon