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.
Unfortunately, activation email could not send to your email. Please try again.

Formatting Numbers in a cell of GDBG

Thread ID:

Created:

Updated:

Platform:

Replies:

34647 Sep 14,2005 03:34 AM Sep 14,2005 06:15 AM Windows Forms 2
loading
Tags: GridControl
Atith Pagdi
Asked On September 14, 2005 03:34 AM

I have a column in the DGBG and am using the following line of code to format it upto one decimal place: this.dgTest.Binder.InternalColumns[COL_EQUITY_CONSID].StyleInfo.Format = "#0.0"; I want to also have specify the format to contain commas for every thousand place. 1000.45 should be displayed as 1,000.5 How can I do this by modifying the format in the same line for the internal column? Thanks

Administrator [Syncfusion]
Replied On September 14, 2005 05:17 AM

Hi Atith, Try Format = "#,###,###.0" Regards, Stanley

Atith Pagdi
Replied On September 14, 2005 06:15 AM

I''ve got it working man, thanks!

CONFIRMATION

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.

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.

;