Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Søren Gregersen 441 posts 1884 karma points MVP 2x c-trib
    May 03, 2016 @ 13:20
    Søren Gregersen
    0

    Umbraco.Integer with decimals - why? how?

    Hi,

    I needed to use a number with decimals. After seeing that "Umbraco.Integer" supported a setting for "Step Size" i tried setting it to 0.01 which worked fine, and I was able to input 1.01, 2.54 etc as value for my shiny new datatype.

    Everything is awesome!

    But not quite!

    When I try to use the data I entered, the value is 0 (zero). What?

    Also, I have noticed that I'm sometimes not able to update my content, since 5.63 is not a valid integer. If I change it to something else (5.64 in this case), I can save and publish

    It seems very inconsistent.

    Can anyone tell if it should or should not be possible to "create" a decimal-number with the "Umbraco.Integer" editor (even though it's name suggest it shouldnt) ?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies