Number
A numeric input. The value is saved as a number, not a string.
Add this field under fields in .pages.yml:
- name: price
type: number
options:
min: 0
step: 0.01A saved value in YAML or Markdown front matter might look like:
price: 12.5