© Copyright 2023, Astera Software
Example
In this example, we will pass a string value to the function transformation object using a Variables object.
Where,
value = $ 123.1234
In the output window, you can see that the provided string has been converted into a real number.
This conversion is also evident if the output value is mapped to a destination file, as shown below:
Name
ToReal
Syntax
ToReal (Any value)
Purpose
To convert a value into a real number.
Description
Returns a real number representing the specified value. Returns null if the value cannot be converted to a real number.
Return Type
Real
Parameters
value [System.Object] – Value to be converted