# Number Format

The *Number Format* action node reformats a number input into another specified format.&#x20;

This node is typically used after a [*Request Input* ](https://guides.clickatell.com/flow/user-facing-nodes/input-nodes/menu-nodes-ask-for-input)node where a customer is required to provide a number or an API call where a number is returned.&#x20;

<figure><img src="https://content.gitbook.com/content/joAgInTNsBfDdfx1I23z/blobs/gkYmDU0x6gsZKvkAVe74/image.png" alt="" width="563"><figcaption><p>Setup of a Number Format node</p></figcaption></figure>

![Example flow containing Number Format node](https://content.gitbook.com/content/joAgInTNsBfDdfx1I23z/blobs/eT7jyOP0b1NtgAg8GDbQ/image.png)

### Examples:

This table describes some common number formatting patterns you can make use of in Chat Flow.

| Pattern  | Description                                                                                                                               | Example input | Example formatting                                |
| -------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ------------- | ------------------------------------------------- |
| #        | Used to indicate groupings; used with either "," or "." to specify groupings                                                              | 123123.1      | ###,###.## = 123,123.1 or ######,## = 123123,1    |
| 0        | <p>Used to indicate groupings and the exact number of digits to be displayed; </p><p>used with either "," or "." to specify groupings</p> | 1234.5        | ###,###.00 = 1,234.50 or  000,000.00 = 001,234.50 |
| Currency | Currency indicators can be set as a prefix to patterns                                                                                    | 1234.5        | $###,###.00 = $1,234.50                           |
