StrToR

StrToR

%StrToR function


Function

The function converts a text to a real number.

Declaration

REAL %StrToR( TEXT in text )

Parameters

text

Function argument.

Example

If text is not a correctly entered real number, the function returns an invalid value.

 

%StrToR("1.23") ; returns the value of 1.23