10 6 30 IsFloat

LANSA Technical

10.6.30 IsFloat

IsFloat examines whether a string's value can be handled as a floating point number. It returns a boolean value - true if the value is a floating point number, false if it is not. It is a good idea to use IsFloat as a test before calling AsFloat.

Input Parameters

None.

Example

If cond(#String.isFloat)
  #Float := #String.AsFloat
Endif
 

Ý 10.6 Alphanumeric/String Intrinsic Functions