FP_FROM_NUM

Convert to floating-point from implied-decimal

WSupported on Windows
USupported on Unix
VSupported on OpenVMS

 

xcall FP_FROM_NUM(float, number)

float

Returned with a native floating-point number (C “double” data type). (a8)

number

An implied-decimal number to convert to a floating-point number. (n)

The FP_FROM_NUM subroutine converts an implied-decimal number to a machine-native, floating-point representation.

The following equation is performed:

floating = number

See Sample program.