F$VALUE()

Description

F$VALUE() is used to convert a string to a numeric value.

Call Signature

numeric F$VALUE ( string string_value )

Return Value

numeric

The numeric value or 0 if the passed string does not contain a number.

Argument

string string_value:

String value to convert to a number.

Remarks

F$VALUE() is the inverse of the F$STRING() function.

Example

The following commands extract the "version" number string and convert it to a numeric representation so that it can be compared as a number.

if( F$VALUE(F$EXTRACT(F$VERSION,2,4)) < 5.2 )
then
	print "EASI version must be V5.2 or later."
endif

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.