Overview
Number is a simple field that allows you to store and show numeric values. This field can use decimals as value.
Use cases
It can be used in many ways - from showing simple product attributes, for example: width, height, weight, etc., to more complex use cases like controlling a variable value in your own scripts. Use this field if you need to store decimal values.
Setup
Min value - Minimal value that can be stored
Max value - Maximum value that can be stored, If 0 is used there is no limit.
![](https://uploads-ssl.webflow.com/5b6c11feb3323e6a02ff4849/5f5607bc370262034d4a993f_GvR66GBkBpGI9fEOE8_SXyDwHgq7AtQoUiEvRomT3dsFHlUzUHVY2jqAA4yPt29wTATsfhP_A7EPSx951huryFtwos-fO9FVvFe9B88_eDE5CTK-a3fAKPkWHrAc3MWlOGOpQDeb.png)
Example usage
{% assign width = product.metafields.airf.width %}
{% if width and width != ' ' %}
Product width: {{ width }}
{% endif %}