> 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/rules-bulk-edit-and-enrich/how-to-use-actions-then-in-rules/rule-action-reformat-number.md).

# Rule action: Reformat number

### Use cases

Change the formatting of a number, such as your prices.

Use the **Reformat number** action to change the formatting of numbers in your product data. For example, you can edit the separators ( . and , ) and the number of decimals it has.

If your prices exceed 10,000 and you want to change the format of the number, you can reformat a price of "9000,00" to "9,000.00".

<figure><img src="https://content.gitbook.com/content/u8whzIfip72Kvn3M1bsc/blobs/4DFuFND3PKWK3pMVDa2b/360007548919" alt=""><figcaption></figcaption></figure>

|                                                                                                                                                |                                                                                                                                               |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| **Before using "reformat number"**                                                                                                             | **After using "reformat number"**                                                                                                             |
| ![EN\_-\_Reformat\_Number\_Rule\_BEFORE.png](https://content.gitbook.com/content/u8whzIfip72Kvn3M1bsc/blobs/xjqyfnbhNsAkQH4wlhAV/360007533760) | ![EN\_-\_Reformat\_Number\_Rule\_AFTER.png](https://content.gitbook.com/content/u8whzIfip72Kvn3M1bsc/blobs/rR787fyWFjtB605xxOLk/360007533800) |

{% hint style="info" %}
Tip: Check out our [rule templates](/manage-improve-product-data/rules-bulk-edit-and-enrich/using-rules/rule-templates.md) and create this rule in just a few clicks.
{% endhint %}


---

# 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/rules-bulk-edit-and-enrich/how-to-use-actions-then-in-rules/rule-action-reformat-number.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.
