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) ?
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) ?
is working on a reply...