NumberPropertySpec

Represents a number property specification in a Notion database. This property allows users to store numerical values with various formatting options, such as currency, percentage, or scientific notation.

Number properties can be used for:

  • Basic arithmetic calculations

  • Statistical analysis

  • Financial tracking

  • Scientific measurements

The numbers can be formatted in different ways using the format property, and they can be used for filtering, sorting, and calculations in database views.

See also

Types

Properties

Link copied to clipboard

How the number is displayed in Notion.

Link copied to clipboard
abstract val id: String

The ID of the property, usually a short string of random letters and symbols. Some automatically generated property types have special human-readable IDs. For example, all Title properties have an ID of title.

Link copied to clipboard
abstract val name: String

The name of the property as it appears in Notion.