A Number field holds numeric values. You can set how many decimal places it shows, add a unit such as a currency symbol, and color numbers by their value. Number fields are meant to help you read figures quickly, such as an asking price or a stock level.
Note:
A value has to be a number. If someone enters something else, Tape shows "Please enter a valid number".
Dynamic color is only available on the Premium Plan. The
Colorrow carries aPremiumbadge. Learn more about plans →
Who can use the number field?
The number field is available on all plans: Free, Plus, and Premium. See what each plan includes on our pricing page.
Dynamic color: This feature is only available on the Premium Plan. Learn more about plans →To add or change a field, you need
Full accessto the database app.
Add a number field
Open the database app, open the app menu, and select
Customize record layout.Click
+or type/in a text block.Under
New field, selectNumber.Click the drag handle (
⋮⋮) of the new field and selectEdit fieldto change its settings.
Number field settings
In Edit field, you find:
Format: how the number is shown. ChooseNumber,Percent,Currency, orCompact.Decimal places: chooseAutoor a fixed number of digits after the decimal point.Unit as prefixandUnit as suffix: add a unit before or after the number, such as a currency symbol or "kg". Enter it underEnter unit…. Leave it empty for no unit.Allow negative values: turn it off to accept only values of 0 or more. Tape then shows "Value must be greater than or equal to 0" for a negative number.Show thousand separator: shows 1,250,000 instead of 1250000.Color: a fixed color orDynamic color. Learn more about colors below →Default value: the value a new record starts with.
Currency doesn't add a currency symbol by itself. Add the symbol with Unit as prefix or Unit as suffix, for example "$" or "EUR". With Decimal places set to Auto, Currency shows two decimal places, Percent two, Compact one, and Number none.
A number that is too big is rejected with "Value exceeds the maximum allowed number".
In Edit field display, Size makes the number bigger (Default, Large, Extra large, or Extra extra large), for example for a price at the top of a record. Wrap text lets a long value continue on the next line. Learn more about field display →
Color the numbers
Under Color, choose a fixed color or turn on Dynamic color. A fixed color shows every value in that color. Dynamic color changes the color with the value, for example red for stock below 5.
To add a rule:
Select
Colorand turn onDynamic color. Tape adds a first rule right away: values greater than 0 in green.Under
If value, choose an operator:Greater than,Greater than or equal,Less than,Less than or equal,Equal, orNot equal. The rule shows it as a sign, such as>.Enter a number under
Valueand choose a color.Select
Add rulefor more rules. SelectDelete ruleto remove one.
The colors are Default, Grey, Brown, Orange, Yellow, Green, Blue, Purple, Pink, and Red. In Edit field display, Color also offers Auto, which uses the color set in Edit field.
FAQs
Can I use a number field in a calculation?
Can I use a number field in a calculation?
Yes. Number fields are the usual input of a calculation, for example price times quantity. Learn more about the calculation field →
Can I add up the numbers of related records?
Can I add up the numbers of related records?
Yes. A calculation field can add up, average, or find the smallest or largest number across related records. Learn more about calculation syntax →
Can I convert a text field to a number field?
Can I convert a text field to a number field?
No, a text field can't be converted to a number field. Create a Number field and enter or import the numbers again. Learn more about changing a field type →
Can I show the total of a number field in a view?
Can I show the total of a number field in a view?
Yes. A table can show a calculation such as a sum in its footer. Learn more about table calculations →
Can a number field show a percentage?
Can a number field show a percentage?
Yes. Choose Percent under Format.
Are there other field types?
Are there other field types?
Yes! Database apps have fields for text, numbers, dates, members, files, relations, calculations, and more. See every field type in Intro to fields →
Still have questions? Find answers and get help from community experts in the Tape community →
