+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Creating number field with floating points in ecommerce module.

Creating number field with floating points in ecommerce module.

3 posts, 0 answered
  1. Svetlin
    Svetlin avatar
    1 posts
    Registered:
    27 Jul 2015
    13 Oct 2015
    Link to this post

    Hi, this is the issue.

    I want to add number field with 2 decimal places in Ecommerce module, but after i save the field i see that Sitefinity is create just number field without decimal places. I check in the database and confirm the bug - instead of decimal(20, 2), is decimal(20, 0).

    Best regards, Svetlin.

     

  2. Jason
    Jason avatar
    2 posts
    Registered:
    03 Mar 2016
    29 Jun in reply to Svetlin
    Link to this post

    Hi Svetlin,

    Did you ever get a reply to this? I am having the same issue in version 9.1

  3. Sabrie Nedzhip
    Sabrie Nedzhip avatar
    534 posts
    Registered:
    05 Dec 2016
    05 Jul
    Link to this post
    Hello Jason,

    There should not be any issue with the number fields in Sitefinity 9.1. I just tested this and I can verify that if you create a custom field of type Number and then from the Decimal places dropdown box select the number of decimal places after the decimal point that can be entered in this field (e.g. 2), Sitefinity will properly save the value entered in this field with the correct number of decimal places after the decimal point.

    I am sending attached a short video for your reference to demonstrate the behavior on my side. Can you please let me know if I am missing any steps to reproduce the issue?

    Regards,
    Sabrie Nedzhip
    Telerik by Progress
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
3 posts, 0 answered