Project

General

Profile

Actions

Feature proposal #7690

closed

Implement float fieldtype

Added by krileon over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
23 August 2019
Due date:
% Done:

100%

Estimated time:

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.

Actions

Also available in: Atom PDF