Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1493
Cell with decimal places problem..
posted

Hi,

       I am trying to display some concatinated double values as a string in my grid cell its working fine but only problem I have found is After 5 decimal places it convert the simple number in to exponential number like

12.0000034= 1234E-7. According to my findings while string formating it convert the value as exponential instead of simple double value. I know its solution is while converting double value to string put format for decimal places like .Tostring("F6"). for 6 number of decimal places. But I dont want to enter manually fixed number of decimal places. I want to have all decimal places data in my underlying datasource to display in grid. Can any one suggest some thing in this regard. Thanks