Format number to text
Description
Formats a number value with the specified delimiter and adds the specified decimal places after the delimiter
Input Ports
| Name | dataType | sourceType | required | description |
|---|---|---|---|---|
| Decimal length | number | link-manual | true | The amount of numbers that should exist after the delimiter |
| Number value | number | link-manual | true | The number value that contains decimal values |
| Delimiter | text | link-manual | true | The delimiter that exists inside of the number value |
Scenarios
- The user has a number that needs to be text and must be in a specific format with a custom delimiter.
Use case
Inputs
- Decimal length:
3 - Number value:
234,4565854 - Delimiter:
,
Experienced tips
- If the
delimiteris empty, the text output will remove the original delimiter and output it as one number in a text format - If the
Number valueis empty, thetext valuewill provide you with the valueNaN - If the
Decimal lengthis empty, thetext valuewill provide you with a number with no decimals in a text format
Search Tags
Format decimal number to text