GET-DOUBLE function

Returns the 8-byte floating-point value at the specified memory location as a DECIMAL value.

Syntax

GET-DOUBLE ( source , position )
source
A function or variable that returns a RAW or MEMPTR value. If source is the Unknown value (?), GET-DOUBLE returns the Unknown value (?).
position
An integer value greater than 0 that indicates the byte position where you want to find the information. If position is greater than the length of source, the AVM returns the Unknown value (?). If position is less than 1, the AVM generates a run-time error.

Example

For examples of how to use the GET-DOUBLE function, see the GET-BYTE function reference entry.

Notes

See also

LENGTH function, PUT-DOUBLE statement, RAW function, RAW statement, SET-SIZE statement