Method: Numeric to character
Function name: tostring
Parameter list: (DOUBLE input)
Return type: CHAR
What the method does: Converts a numeric (decimal, float, integer) in the source column to a character in the target column.
Converts a numeric (decimal, float, integer) in the source column to a character in the target column.
A float datatype (float or double) is displayed with scientific notation output when you use the Data Enhancement method “Numeric to Character”. For example, what is seen in the source as 1654860672 is replicated to a target as 1.654860672E9.
If you do not want scientific notation output for a float number, then use the following expression:
tostring( tointeger(<float_number>) )
This first converts the float approximate number to an exact integer and then to a character string.