longbits Function
Purpose:
To convert a 8 byte double into a 8 byte 64 bit long value.
Some software components do not support 8 byte doubles, type double,
they only support float which is 4 bytes 32 bits. However the same software component
may support 64 bit longs. Use this routine to store a double in a long without any loss of precision.
Syntax:
longbits(long)
longbits(double)
I
Comments:
Example:
aa = longbits(33.3)