> For the complete documentation index, see [llms.txt](https://helpcenter.channable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpcenter.channable.com/manage-improve-product-data/manage-product-and-improve-data-es/reglas-edicion-masiva-y-enriquecimiento/how-to-use-conditions-if-in-rules/comparar-valores-numericos.md).

# Comparar valores numéricos

Selecciona los artículos cuyos valores de campo sean inferiores al número que indiques.

Utiliza **`è minore di`** e **`è minore di o uguale a`** para seleccionar artículos según un valor numérico.

* **`è minore di`** selecciona los valores inferiores al número que introduzcas.
* **`è minore di o uguale a`** selecciona los valores iguales o inferiores al número que introduzcas.

Elige un campo numérico e introduce un valor para comparar:

* **SI** `price` **`è minore di`** `10` selecciona los artículos con un precio inferior a 10.
* **SI** `stock` **`è minore di o uguale a`** `5` selecciona los artículos que tienen cinco unidades o menos en stock.

{% hint style="info" %}

#### Requisito

Utiliza estas condiciones solo con campos asignados como campos numéricos.
{% endhint %}

***

### Ejemplo de uso de comparaciones numéricas

Utiliza condiciones numéricas para identificar los artículos que necesitan una actualización:

* **Revisa los artículos de bajo precio:** Selecciona la condición **`è minore di`**, entonces utiliza la acción **`Set value`** para añadir una etiqueta de precio bajo a los artículos que estén por debajo de tu precio mínimo.
* **Marca los artículos con poco stock:** Selecciona la condición **`è minore di o uguale a`**, entonces utiliza la acción **`Set value`** para añadir una etiqueta de poco stock a los artículos que tienen cinco unidades o menos en stock.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://helpcenter.channable.com/manage-improve-product-data/manage-product-and-improve-data-es/reglas-edicion-masiva-y-enriquecimiento/how-to-use-conditions-if-in-rules/comparar-valores-numericos.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
