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