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. Image for the cookie policy date

Grid view not supporting Decimal data type more then 15 digit

Hi Team,
I am facing issue with Grid view,
I just created a test sample project in which a i bind department column as dropdown list and assigned data source, Department list has  two  properties one of  DepartmentId data type is decimal and second is departmentName varchar(20),  when  i increased departmentId filed length more then 15 Digit, Grid view not support dropdown list value which came form database  its automatic change values Ex. My database values is 10000000000000003 , its show 10000000000000004 and  so on.   


Please help with me 

Thanks
Ritesh kumar 

1 Reply

SA Saravanan Arunachalam Syncfusion Team July 19, 2017 04:12 AM UTC

Hi Ritesh, 
Thanks for contacting Syncfusion’s support. 
JavaScript uses 64bit floating point numbers exclusively, which means you only get about 16 decimal digits which is fundamental limit of number type in javascript and also refer the following stackoverflow link to knom more details. 
Regards, 
Saravanan A. 


Loader.
Up arrow icon