The Number data type holds and represents numbers. Numbers can be used with mathematical operators such as add +
and divide /
to perform mathematical operations and calculations.
2 + 2 // Output: 4
6 / 2 // Output: 3
Mathematical operations follow the standard mathematical order of operations (PEMDAS).
3 + 4 * 5 // Output: 23
(3 + 4) * 5 // Output: 35
To learn more, see the guide on operator precedence and associativity:

Notion will automatically convert numbers with more than 21 digits to scientific notation:

See this in action in this example database:
