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

Forums / Bugs & Issues / Custom numeric field precision, value after decimal not saved

Custom numeric field precision, value after decimal not saved

3 posts, 1 answered
  1. Chaitanya
    Chaitanya avatar
    22 posts
    Registered:
    14 Oct 2013
    13 Oct 2014
    Link to this post

    Hi,

    I have found one bug in custom numeric field. It does not save any value after decimal.

    Repro Steps:

    1. Go to custom fields for any module say news or events.( Same applies to field added by code to content block)

    2. Add custom numeric field, precision 2 digits after decimal.

    3. Create new news/event, set numeric value, in the edit screen it will accept any numeric value even more than 2 digits after decimal point. but in database it will only save the whole number. also for any precision say 1 point or 2 point, in database it will always be set as (decimal(20,0), null)

  2. Elena Ganeva
    Elena Ganeva avatar
    36 posts
    Registered:
    20 Jul 2016
    14 Oct 2014
    Link to this post

    Hello Chaitanya, 

    This is actually a known issue that we already have logged in our tracking system:


    Custom field of type "Number" with decimal places rounds the entered number

    I subscribed you to this report item so you can track easily its progress. This way you will be automatically notified as soon as it is fixed.

    Regards,
    Elena Ganeva
    Telerik
     
    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
     
    Answered
  3. Chaitanya
    Chaitanya avatar
    22 posts
    Registered:
    14 Oct 2013
    14 Oct 2014 in reply to Elena Ganeva
    Link to this post

    Hi Elena,

    Thanks for the info.

    Regards,

    Chaitanya.

3 posts, 1 answered