> For the complete documentation index, see [llms.txt](https://manual.blocworx.com/blocworx-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.blocworx.com/blocworx-documentation/bloc-editor/managing-a-field/field-rules/can-only-be-numbers-integers.md).

# Can only be numbers/integers

This rule forces the value to be a number.&#x20;

![](/files/-Ma4iPrwmYV26leuGrvP)

{% hint style="danger" %}
Currently this rule is strict and does not even allow numbers with decimal places. We will be adding this as a rule parameter in an upcoming release.
{% endhint %}

{% hint style="success" %}
Using this in conjuction with our [Numeric Field parameter](/blocworx-documentation/bloc-editor/managing-a-field/field-parameters/main-field-parameters.md#make-this-a-numeric-field) can be useful to prevent the user even attempting to break this rule
{% endhint %}

### Rule Parameters

There are no Rule Parameters for this rule.
