# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manual.blocworx.com/blocworx-documentation/bloc-editor/managing-a-field/field-rules/can-only-be-numbers-integers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
