isReal
isReal(): Boolean;
The isReal method of the String primitive type returns true if the receiver represents a valid real value; otherwise, it returns false.
The following example shows the use of the isReal method.
vars stringValue : String; begin stringValue := '+123.456'; write stringValue.isReal; // Outputs true stringValue := '+123,456'; write stringValue.isReal; // Outputs false end;