# ToString (Any value)

| **Name**    | ***ToString (Any Value)***                                                                    |
| ----------- | --------------------------------------------------------------------------------------------- |
| Syntax      | ToString (Any value)                                                                          |
| Purpose     | To convert a value into a string.                                                             |
| Description | Returns the string representation of the specified value. If value is null, null is returned. |
| Return Type | String                                                                                        |
| Parameters  | value \[System.Object] – Value to be converted                                                |

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FGDaOQxmymjsA7wdLBqcz%2F0.png?alt=media)

**Example**

In this example, we will pass an integer value to the function transformation object using a *Variables* object.

Where,

*value* = 123456

<figure><img src="https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FJsq7LlOnR7aofUSEGDld%2F1.png?alt=media" alt=""><figcaption></figcaption></figure>

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FpYcEUw4J8qXgj2QmTYIU%2F2.png?alt=media)

In the output window, you can see that our provided value has been successfully parsed, indicating that the integer has been converted into a string.

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FHuuHxCG6XvjEq5LkDkir%2F3.png?alt=media)

This conversion is also evident if we map the output value to a destination object. As shown below, the data type has been converted to string as well:

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FUOWpTP7sUVFreq09WfJy%2F4.png?alt=media)
