ICONV Function

Performs English input conversions.

Syntax

ICONV(value, conversion)

Syntax Elements

value A DataBasic expression that evaluates to the value to be converted.

Note

The value to be converted cannot contain any system delimiters.

conversion A string containing one or more English conversion codes, separated by value marks. Multiple codes are processed left-to-right, each code acting on the result produced by the previous code.

See Also

ICONVS function, OCONV function, FMT function.

Examples

PENNIES = ICONV("1234.00","MD2")

Assigns the string value 123400 to the variable PENNIES.

IDATE = ICONV("7-29-85","D")

Assigns the internal date value 6420 to variable IDATE.