Skip to main content

Number field

Store counts, prices, and percentages in a number field. Choose a format, decimal places, a unit, and colors that change with the value.

Written by Leo

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.

Number fields in the record Maple Grove Fourplex showing amounts with the $ unit, such as Appraised value $588,000.00

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 Color row carries a Premium badge. 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 access to the database app.

Add a number field

  1. Open the database app, open the app menu, and select Customize record layout.

  2. Click + or type / in a text block.

  3. Under New field, select Number.

  4. Click the drag handle (⋮⋮) of the new field and select Edit field to change its settings.

Opening Customize record layout from the app menu, clicking + next to a field, and clicking Number under New field so the new field appears in the layout
Clicking the drag handle of the number field Asking price in the layout editor and selecting Edit field

Number field settings

In Edit field, you find:

  • Format: how the number is shown. Choose Number, Percent, Currency, or Compact.

  • Decimal places: choose Auto or a fixed number of digits after the decimal point.

  • Unit as prefix and Unit as suffix: add a unit before or after the number, such as a currency symbol or "kg". Enter it under Enter 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 or Dynamic color. Learn more about colors below →

  • Default value: the value a new record starts with.

The Edit field menu of the number field Asking price with Format open, showing Number, Percent, Currency, and Compact

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:

  1. Select Color and turn on Dynamic color. Tape adds a first rule right away: values greater than 0 in green.

  2. Under If value, choose an operator: Greater than, Greater than or equal, Less than, Less than or equal, Equal, or Not equal. The rule shows it as a sign, such as >.

  3. Enter a number under Value and choose a color.

  4. Select Add rule for more rules. Select Delete rule to remove one.

Opening Color in the Edit field menu of the number field Asking price, turning on Dynamic color so the first rule > 0 in Green appears, and clicking Add rule so a second rule appears
The Color setting of a number field with the Premium badge, open with the Dynamic color switch and the color choices

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?

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?

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?

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?

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?

Yes. Choose Percent under Format.

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 →

Did this answer your question?