Sign UpSign Up   Sign InSign In Welcome Guest,
Live Chat Live Chat

A question about decimal digits of Aspose.Grid.Web

Last post 11-16-2009, 5:16 AM by aspose.notifier. 14 replies.
Sort Posts: Previous Next
  •  07-02-2009, 10:24 PM 186675

    A question about decimal digits of Aspose.Grid.Web

    After testing, I found the maximum number of decimal digits of Aspose.Grid.Web  can accurately specify is only 8. In my requirement, I need the number of decimal digits is 15,like Excel. If the Aspose.Grid.Web just can accurately specify is 8? Can you provide the new version for my requirement?

     
  •  07-03-2009, 5:14 AM 186745 in reply to 186675

    Re: A question about decimal digits of Aspose.Grid.Web

    Hi,

    Well, Aspose.Grid.Web works same with MS Excel. Could you give us more details, how do you specify decimal digits, do you set it in code or inserting it visually working with the grid. If you set it in codes, please give us your sample code. If you are inserting numbers with decimals visually, please give the steps involved.

    And by the way,  which version of the component you are using?

    Thank you. 


    Amjad Sahi
    Support Developer,
    Aspose Sialkot Team
    Contact Us
     
  •  07-03-2009, 12:40 PM 186829 in reply to 186745

    Re: A question about decimal digits of Aspose.Grid.Web

    I used V2.0.1.2009

    I found cell.PutValue can't set the value of an over 18 digits decimal.(e.g:0.123456789012345);It just load a 8 digits decimal in the page.(e.g:0.123456789)

    witch attribute in the WebCell can set the unformated value(like 0.123456789012345) except cell.PutValue?

     
  •  07-03-2009, 1:08 PM 186832 in reply to 186829

    Re: A question about decimal digits of Aspose.Grid.Web

    Hi,

    Well, I think you may format your value up to your desired decimal places.

    e.g.

    WebCell cell;

    WebCells cells = GridWeb1.WebWorksheets[0].Cells;

    cell = cells["A1"];

    cell.PutValue(0.123456789012345);

    cell.Custom = "0.000000000000000";

    cells.SetColumnWidth(0, new Unit("220pt"));

     

     

    Thank you.


    Amjad Sahi
    Support Developer,
    Aspose Sialkot Team
    Contact Us
     
  •  07-03-2009, 1:39 PM 186834 in reply to 186832

    Re: A question about decimal digits of Aspose.Grid.Web

    Attachment: Present (inaccessible)

    I know you said.

    well, I set a custom in my cell.

    my real requestion is:

    1.input a value into one cell,(e.g 1.123456789012345) like pic1;

    2.submit the cell by button.(I will save the value of all cells into my oracle database);

    3.after reload the page,because of the cusotm of the cell(0.00), it looks "1.12"; like pic 2

    4.when I press the leftbutton of mouse on the cell, we should be look the real value,but I just look the "1.123456789" . like pic 3

    Do you know the cause of this  issue?

     
  •  07-03-2009, 1:56 PM 186836 in reply to 186834

    Re: A question about decimal digits of Aspose.Grid.Web

    Hi,

    Yes, it only allows a cell value up to 9 decimal places. We will check it and get back to you soon.

    Thank you.


    Amjad Sahi
    Support Developer,
    Aspose Sialkot Team
    Contact Us
     
  •  07-03-2009, 7:24 PM 186856 in reply to 186836

    Re: A question about decimal digits of Aspose.Grid.Web

    Thanks! I will expect your solution.

     
  •  07-05-2009, 8:57 PM 186942 in reply to 186836

    Re: A question about decimal digits of Aspose.Grid.Web

    How about this issue?

    And There is another issue about decimal digits:

    In Excel,If the cell's format is 0.00, it will show "0.12" when the real value of this cell is "0.12345"; So,If I selected this cell and copy the value(press "Ctrl + C"), and paste the value to another cell in any excel file, the real value of second cell is "0.12345";If the value of first cell from  formula(e.g A1*B1),the real value of seconde cell is "0.12345" too.But if I want to copy the value from Excel to Aspose.Grid.Web, I just get the "0.12";The real value,"0.12345" will can't be paste in the Aspose.Grid.Web.Can you make the Aspose.Grid.Web support this "copy mode"?

     
  •  07-06-2009, 1:12 AM 186961 in reply to 186942

    Re: A question about decimal digits of Aspose.Grid.Web

    Attachment: Present (inaccessible)

    Hi,

    Please try the attached version v2.0.1.2012. We have enhanced it for your need, now there is no 9 decimal places limit any more.

    For your another issue, Aspose.Grid.Web copies data from clipboard of the system. The details of excel can not be read out currently. So, the “copy mode” is not supported.

    Thank you.


    Amjad Sahi
    Support Developer,
    Aspose Sialkot Team
    Contact Us
     
  •  07-06-2009, 4:39 AM 186989 in reply to 186836

    Re: A question about decimal digits of Aspose.Grid.Web

    Hello,

    we are facing a similar issue.

    We are inputting the value of the cell: 1.123456789

    We would like to show 1.123 as the value of the cell, but it truncates it in 1.12 because of the cell custom. If we click with the left button of the mouse we can see the right number, but we would like to have it shown in the grid without clicking.

    Do you have any idea about this issue?

    Thanks and regards

    Erjona

     
  •  07-06-2009, 5:48 AM 187010 in reply to 186989

    Re: A question about decimal digits of Aspose.Grid.Web

    Hi,

    Yes, it will show 1.12 if you have set "0.00" as custom formatting attribute, I think you may try to set "0.000" as custom formatting attribute for your need:

    WebCell cell;

    WebCells cells = GridWeb1.WebWorksheets[0].Cells;

    cell = cells["A1"];

    cell.PutValue(1.123456789);

    cell.Custom = "0.000";

     

    And we also recommend you to try v2.0.1.2012 of Aspose.Grid.Web.

    Thank you.


    Amjad Sahi
    Support Developer,
    Aspose Sialkot Team
    Contact Us
     
  •  07-06-2009, 11:00 AM 187096 in reply to 186961

    Re: A question about decimal digits of Aspose.Grid.Web

    Thank you very much! I will try it.
     
  •  07-06-2009, 7:28 PM 187169 in reply to 186961

    Re: A question about decimal digits of Aspose.Grid.Web

    Can you update the Aspose.Grid.Web to the new version and make it support this "copy mode"?
     
  •  07-07-2009, 1:38 AM 187203 in reply to 187169

    Re: A question about decimal digits of Aspose.Grid.Web

    Hi,

    Well, regarding "copy mode" feature, I am afraid we have to investigate and analyze certain things whether it can be implemented or not. We will check it later and update you.

    Thanks for being patient!

     


    Amjad Sahi
    Support Developer,
    Aspose Sialkot Team
    Contact Us
     
  •  11-16-2009, 5:16 AM 208030 in reply to 186675

    Re: A question about decimal digits of Aspose.Grid.Web

    The issues you have found earlier (filed as 9555) have been fixed in this update.


    This message was posted using Notification2Forum from Downloads module by aspose.notifier.
     
View as RSS news feed in XML