> 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;

![](https://1186088597-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MSr2uF2m-DtSpCxknCK%2F-Ma4huGFj5jW-pOiGnnT%2F-Ma4iPrwmYV26leuGrvP%2Fimage.png?alt=media\&token=05e3859a-c63e-4f21-a314-00b3b9b3f47a)

{% 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.
