Feature proposal #7690
closedImplement float fieldtype
Description
This should be in addition to Integer fieldtype (Integer Number) and be named Decimal Number. This will have a float storage behavior which will allow it to accept decimal values (e.g. 0.01, 1.03, etc..).
Both Decimal and Integer fields should be changed to HTML5 number fields and provide support for Step attribute (new param), which is also responsible for specifying the number of decimal places the Decimal fieldtype will accept.
New display parameters are needed for both fields. Integer needs a display parameter for controlling the thousands separator and needs to support language strings for localizing this. The Decimal fieldtype also needs the thousands separator, but also needs a decimal point parameter as well for changing the decimal point.