EVALUATE()
If you omit the optional return value and an error occurs during the evaluation of the string, a run-time error occurs. If you include it, the system assumes you will handle any errors.
The text value will be converted to decimal and will be stored in the first parameter provided to the function i.e. DecimalVar
Comments
TextVar := '10.56'
EVALUATE(<DecimalVar>,<TextVar>)
Evaluate function returns true or false and hence should be used with an IF condition.
but i want to get that value only from text data type no need to check that data type
If you omit the optional return value and an error occurs during the evaluation of the string, a run-time error occurs. If you include it, the system assumes you will handle any errors.
The text value will be converted to decimal and will be stored in the first parameter provided to the function i.e. DecimalVar