HP 3000 Manuals

System Conversion Functions in HP BRW/V [ COMMUNICATOR 3000/XL XL RELEASE 3.0 ] MPE/iX Communicators


COMMUNICATOR 3000/XL XL RELEASE 3.0

System Conversion Functions in HP BRW/V 

by Kathryn Andersen 
Application Support Division/STC 

HP BRW/V has always been supported on XL releases in Compatibility Mode.
Four new System Functions have been added to HP BRW/V, called TO_INTEGER,
TO_REAL, TO_NUMERIC and TO_STRING, for explicitly converting to and from
Integer, Real, Numeric and String types.  This enhancement appears in HP
BRW/V (version number A.02.30).

The new functions can be used in conditions and Calculated Items, and are
entered as indicated below:

Syntax 

     TO_INTEGER( expression)

     TO_REAL( expression)

     TO_NUMERIC( expression)

     TO_STRING( expression)

The TO_INTEGER function converts the expression to an integer.

The TO_REAL function converts the expression to a real value.

The TO_NUMERIC function converts the expression to a numeric value.

The TO_STRING function converts the expression to a string value.

These functions are valid for integer, real, numeric, and string
expressions.



MPE/iX Communicators