

The Plain Number field can store numeric, integer, and float values. It has an upper limit of 64 digits and 30 decimals for storage.
Values are always stored without thousands separators and other formatting. For instance, a value like “1,203,303.29” would be stored in the database as “1203303.29”.
For currency numbers, you may want to use the Currency Field.
Contents
Quick Start
- Fill out the Basic Field Settings (Label, Description, and Field Name)
- Select Field Type: Plain Number.
- Click Save New Field (or Save Field if you’re updating an existing field) to save your field configuration.
Settings
- Input Type
The input type to use for the number. Available options are:- Freeform Number
- Slider
- Number Format
The format the number will be displayed as. Available options are:- Localized Default
- 1,234.00
- 1234.00
- 1.234,00
- 1234,00
- 1 234,00
- 1’234.00
- Decimals
The number of decimals to allow. The upper limit in the database is 30 decimals. - Soft Formatting
This will remove trailing decimals on display when they are “0”. - Slider Increment (Step)
When using the Slider input, this is the increment used for each slider step. - Minimum Number
When using the Slider input or HTML5 Number input, this is the minimum number to require on the input. - Maximum Number
When using the Slider input or HTML5 Number input, this is the maximum number to require on the input. - Maximum Digits
The maximum length of text to allow (default: 12), you can set it to -1 to disable the limit. However, the real upper limit in the database is 64 digits. - Enable HTML5 Input Field
When enabled for a Number input (excluding Slider), this will render the field withtype="number"using the default browser interface. Based on your needs, the browser interface may be a better experience especially for mobile devices. For more details on HTML5 types, you can read the documentation at W3 on Validating Common Input. - HTML Placeholder
This is the text that will show on the input field when it is empty to help guide content entry. The placeholder is not a replacement for labels or description text, and it is less accessible for people using screen readers. For more details on the usage of Placeholder Text, you can read the documentation at W3 on Placeholders.
How to Display
Display with a Shortcode
[pods field="my_number_field"]
Display with PHP: pods_field_display()
<?php echo pods_field_display( 'my_number_field' );
Display with PHP: $pod->display()
<?php $pod = pods(); echo $pod->display( 'my_number_field' );