# Number Formatter Premium Action

With the Number Formatter action, you can reformat the number as per your requirement.

* Text to Number
* Format Number
* Format Phone Number
* Format Currency
* Random Number

![](https://t8631005.p.clickup-attachments.com/t8631005/42b03bdc-8f50-4fff-897e-18fa6846dd33/Screenshot%202023-04-17%20at%203.43.05%20PM.png)

###

## Text to Number

To convert a string to numeric. Eg: “$12,345.67” to 12345.67

### Select Field:

Select any field that is suitable for text to number conversion, you can select from Contact fields or Custom fields, Custom values or even from Inbound Webhook Trigger.

![](https://t8631005.p.clickup-attachments.com/t8631005/d7f516b7-f0a2-4c39-9d43-b976add6b872/Screenshot%202023-04-17%20at%203.46.10%20PM.png)

### Input Decimal Mark:

The character the input uses to denote the decimal/fractional portion of the number. This is used to identify the decimal portion of the selected number Eg: “12345.67” or “12345,67” to 12345.67

![](https://t8631005.p.clickup-attachments.com/t8631005/bdd46996-adc5-4e4f-af9b-1baa9e96d454/Screenshot%202023-04-17%20at%203.50.32%20PM.png)

### Output

After setting up the Text to Number, you can use the results in further actions in your Workflow.

{{number\_formatter.1.result}}

![](https://t8631005.p.clickup-attachments.com/t8631005/24dfa440-7026-4907-af3e-b3cee5b5921a/Screenshot%202023-04-17%20at%203.55.33%20PM.png)

***

## Format Number

To convert a number from one format to another. Eg: “12,345.67” to “12.345,67”

### Select Field:

Select any field that is suitable for number formatting you can select from Contact fields or Custom fields, Custom values or even from Inbound Webhook Trigger.

![](https://t8631005.p.clickup-attachments.com/t8631005/d7f516b7-f0a2-4c39-9d43-b976add6b872/Screenshot%202023-04-17%20at%203.46.10%20PM.png)

### Input Decimal Mark:

The character the input uses to denote the decimal/fractional portion of the number. This is used to identify the decimal portion of the selected number Eg: “12345.67” or “12345,67” to 12345.67

![](https://t8631005.p.clickup-attachments.com/t8631005/bdd46996-adc5-4e4f-af9b-1baa9e96d454/Screenshot%202023-04-17%20at%203.50.32%20PM.png)

### To Format:

Select the required format from the list

![](https://t8631005.p.clickup-attachments.com/t8631005/3429b70a-f792-4953-b915-3411387ebaf8/Screenshot%202023-04-17%20at%203.59.03%20PM.png)

### Output

After setting up the Format Number, you can use the results in further actions in your Workflow.

{{number\_formatter.1.result}}

![](https://t8631005.p.clickup-attachments.com/t8631005/24dfa440-7026-4907-af3e-b3cee5b5921a/Screenshot%202023-04-17%20at%203.55.33%20PM.png)

***

## Format Phone Number

To format a phone number from the list of standard structures. Eg: “5413134664” to “+1 541-313-4664”

### Select Field:

Select any field that is suitable for phone number formatting you can select from Contact fields or Custom fields, Custom values or even from Inbound Webhook Trigger.

![](https://t8631005.p.clickup-attachments.com/t8631005/d10cec6c-6752-4fae-93ef-5638454aec8b/Screenshot%202023-04-17%20at%203.46.10%20PM.png)

### To Format:

Select the required format from the list

![](https://t8631005.p.clickup-attachments.com/t8631005/06d6a8c9-d330-498f-9463-119ad1fa25e0/Screenshot%202023-04-17%20at%204.09.38%20PM.png)

### Country Code:

Select the required country code from the list

![](https://t8631005.p.clickup-attachments.com/t8631005/8817baf8-3e22-4476-87e1-6154e99e907b/Screenshot%202023-04-17%20at%204.09.55%20PM.png)

###

### Output

After setting up the Format Phone Number, you can use the results in further actions in your Workflow.

{{number\_formatter.1.result}}

![](https://t8631005.p.clickup-attachments.com/t8631005/24dfa440-7026-4907-af3e-b3cee5b5921a/Screenshot%202023-04-17%20at%203.55.33%20PM.png)

***

## Format Currency

To convert a currency from one format to another. Eg: “12345.67” to “$12,345.67”

### Select Field:

Select any field that is suitable for currency formatting you can select from Contact fields or Custom fields, Custom values or even from Inbound Webhook Trigger.

![](https://t8631005.p.clickup-attachments.com/t8631005/d10cec6c-6752-4fae-93ef-5638454aec8b/Screenshot%202023-04-17%20at%203.46.10%20PM.png)

### Currency:

Select the required currency format from the list

![](https://t8631005.p.clickup-attachments.com/t8631005/53745d5c-8f8f-41a7-bd92-c95fcbe21920/Screenshot%202023-04-17%20at%204.13.51%20PM.png)

### Currency Locale:

Select the required currency locale format from the list

![](https://t8631005.p.clickup-attachments.com/t8631005/e1bca435-3aae-4bcf-8aa4-2d3421c111ea/Screenshot%202023-04-17%20at%204.14.00%20PM.png)

###

### Output

After setting up the Format Currency, you can use the results in further actions in your Workflow.

{{number\_formatter.1.result}}

![](https://t8631005.p.clickup-attachments.com/t8631005/24dfa440-7026-4907-af3e-b3cee5b5921a/Screenshot%202023-04-17%20at%203.55.33%20PM.png)

***

## Random Number

To generate a random number between a provided range.

![](https://t8631005.p.clickup-attachments.com/t8631005/ccf338b2-4906-45da-a6b0-8a3abc906512/Screenshot%202023-04-17%20at%204.18.22%20PM.png)

### Output

After setting up the Random Number, you can use the results in further actions in your Workflow.

{{number\_formatter.1.result}}

![](https://t8631005.p.clickup-attachments.com/t8631005/24dfa440-7026-4907-af3e-b3cee5b5921a/Screenshot%202023-04-17%20at%203.55.33%20PM.png)

***

## Usage

* Convert a text to number (“$12,345.67” to 12345.67) to compare in If/else condition with number operators
* Format the currency to respective Locale before sending via Email/SMS to contacts
* If you have a United States phone number that needs to be formatted as an international number, you can use the **Format Phone Number** to include “+1” country code before storing or sending it to a user via Email/SMS/Slack or sending it to another platform via Custom Webhook
