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

To show more than 15 decimal digits in GridControl

Thread ID:





97697 Dec 28,2010 06:40 AM UTC Sep 13,2011 06:37 AM UTC ASP.NET MVC (Classic) 2
Tags: Grid
Asked On December 28, 2010 06:40 AM UTC


I am using Syncfusion.Windows.Forms.Grid.GridControl to show the Pearson Coefficient results. My result has 17 decimal digits.
My value is 0.99999999999999989. when displaying in Grid Control automatically rounds to 1.

I Need to display this full value in the grid

Thanks in Advance,
Suganya. K

Jisha Joy [Syncfusion]
Replied On December 29, 2010 08:37 AM UTC

Hi Suganya,

Formula cells supports 15 decimal digits only, after that it will automatically get rounded off. You can see the same behavior with Excel too.


Replied On September 13, 2011 06:37 AM UTC

Hi Jisha,

You are saying the grid will round off at 15 decimal points, Am using the value obj1 = "0.999999999999999678" to display in the grid and tried with two versions of syncfusion grid control and the results are vary.

this.grdTemplate[1, 1].CellType = "TextBox";
this.grdTemplate[1, 1].CellValue = obj1;
this.grdTemplate[1, 1].CellValueType = typeof(Double); Value in the grid:
I can see the grid contains the following value, contains 17 decimal points. (18th decimal point trimmed off).
"0.99999999999999967" Value in the grid:
When I tried the same code with syncfusion 7 version, I can see the grid contains the following value,The value rounded off at 15th decimal point.

I want to display the value as like version, Kindly help me out on this. This is very urgent task for our client.



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