Rendering the Number Field

The Number field allows content writers to enter or select a number. You can set max and min values for the number.

Before Reading

This page assumes that you have retrieved your content and stored it in a variable named document

Get the Number Value

Here's an example of how to access the Number field value. In this case the Number field has the API ID price.

// In a React component
render() {
  return <span className="price">${}</span>

Was this article helpful?
Not really
Yes, Thanks

Can't find what you're looking for? Get in touch with us on our Community Forum.