> 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/como-utilizar-acciones-entonces-en-las-reglas/accion-de-regla-arrotonda-numero.md).

# Acción de regla: arrotonda numero

{% hint style="info" %}
Usado para: Redondear números, como los precios de tus productos.

Se usa en: sentencias "THEN" y sentencias "ELSE".
{% endhint %}

Después de hacer cálculos (p. ej. añadir impuestos o descuentos) sobre tus precios, estos pueden tener muchos decimales. Con la regla de redondear número puedes volver a redondear fácilmente tus precios a dos decimales o a un número entero. Al usar la regla de redondeo puedes elegir cómo quieres redondear el número. Las capturas de pantalla a continuación muestran las opciones entre las que puedes elegir:

<figure><img src="/files/745fa3fabca410e7f038fa3fd7d87521d42a3b61" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/118d483effaf225ced4744156999b1e7b19833ff" alt=""><figcaption></figcaption></figure>

Puedes elegir redondear tus números hacia arriba, hacia abajo o al más cercano. Si seleccionas "más cercano", Channable redondeará tus números en la dirección que dé el resultado más próximo.

En la captura de pantalla de abajo mostramos los resultados de usar la opción de redondeo "más cercano" para cada valor de redondeo. Como puedes ver, redondear al céntimo más cercano de 95 para un precio de 9.3412 lo redondeará hacia abajo a 8,95, porque 8,95 está más cerca de 9.3412 que 9,95.

<figure><img src="/files/36da717379c492c77d164014168808a98f91bdeb" alt=""><figcaption></figcaption></figure>


---

# 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 dynamically by asking a question.

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

```
GET https://helpcenter.channable.com/manage-improve-product-data/manage-product-and-improve-data-es/reglas-edicion-masiva-y-enriquecimiento/como-utilizar-acciones-entonces-en-las-reglas/accion-de-regla-arrotonda-numero.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
