toString (number)
- 15 Sep 2023
-
DarkLight
-
PDF
toString (number)
- Updated on 15 Sep 2023
-
DarkLight
-
PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Purpose
The toString (number) task is used to convert a number into a string. This workflow task returns a string representing the specified number.
Potential Use Case
This task returns a string with the specified number value. If a recent query into a ticketing database has a series of numbers, you could use this method to convert a specified number to a string and send that number value as the body of an email.
Parameters
Input and output parameters are shown below.
Input | Type | Description |
---|---|---|
num |
Number | Required. The number to convert into a string. |
radix |
Number | An integer between 2 and 36 that represents the radix (the base in mathematical numeral systems) of the above mentioned string. |
Output | Type | Description |
---|---|---|
numToString |
String | A string representation of the number value. |
Examples
In the IAP examples shown below:
-
The input variables (num) and (radix) are shown in the Task History, which is accessed from Jobs in Operations Manager.
-
The return variable shows a stringified representation of the number.
Was this article helpful?