toString (number)

The toString (number) task converts a number into a string.

Potential use case

If a query into a ticketing database returns a number, you could use this task to convert it to a string and include it as the body of an email notification.

Properties

IncomingTypeDescription
numNumberRequired. The number to convert into a string.
radixNumberOptional. An integer between 2 and 36 representing the base in the mathematical numeral system used for the string representation.
OutgoingTypeDescription
numToStringStringA string representation of the number.

Example

The input variables num and radix are shown in Task History, accessible from Jobs in Operations Manager.

toString (number) task — incoming variables

The output shows the stringified representation of the number.

toString (number) task — output