- Go to System Settings -Customization - Module Manager - Add Field/Add Form - Column（Number/Currency/Percentage Type）

- Choose the number as type and“Allows users to enter any numbers. Leading zeros are removed.”will be showed below the column.

A new required field "Total Length" is displayed under the API Name

- This field controls the total digits of the "number of digits" + "number of decimal places" of the Number type field

- The default value is 10, the maximum value is 16, and the minimum value is 1. You can adjust the value by clicking the buttons on the right side.

- Do not enter negative numbers; if input-number exceeds maximum value, it becomes 16 after defocus; input-number is 0, it becomes 1 after defocus;

- If the number is lost after clearing the number, the input box will be displayed in red color, and "This

field cannot be blank." will also be displayed in red color below.

- A new required field“Decimal Places”is added under Total Length：This field controls the number of "Decimal Places"

- The default value is 2, the maximum value is 15, and the minimum value is 0. You can click the buttons on the right side to adjust the value.

- Do not enter a negative number; if the input-number exceeds the maximum value, it becomes 15 after defocus;

- When the input-number of this field is larger than the "Total Length" field, input box will be displayed in red color, and"The decimal places must be less than field total length." will also be displayed below in red color .

- If the number is lost after clearing the number, the input box will be displayed in red color, and "This field cannot be blank." will also be displayed in red color below.

Notes：

If the number of decimal part exceeds Decimal Places

- The number in decimal places is saved rounded (for example: 123.456, saved as 123.46 )

If the decimal part is not as enough as Decimal Places

- Then the number of digits will be supplemented with "0" (for example: 123.4 saved as 123.40)

## Comments

0 comments

Please sign in to leave a comment.