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.

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
3 posts, 0 answered
  1. Svetlin
    Svetlin avatar
    1 posts
    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
    03 Mar 2016
    29 Jun 2016 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
    17 Aug 2017
    05 Jul 2016
    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?

    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