10 6 7 AsFloat

LANSA Technical

10.6.7 AsFloat

AsFloat allows a string to be handled as a floating point number. If the string contains characters that cannot be converted, the application will end with a run-time error.

Use IsFloat to test the string before using AsFloat.

Input Parameters

None

Example

If (#String.isFloat)

 

 #Float := #String.AsFloat

 

Endif

 

 Ý 10.6 Alphanumeric/String Intrinsic Functions