GseosConvert.ltof
Previous  Top  Next

ltof(lValue)


Performs a long to float conversion. The binary representation of the long value is returned as a floating point value. This function does not coerce to a float but interprets the long parameter as a floating point value.

ParameterDescription  
lValueThe long value to convert.  

Returns
The corresponding IEEE floating point representation.

Example
The following example converts a long value (which is the binary representation of an IEEE float) into a float:

flTemp = 72.34
lTemp  = GseosConvert.ftol(flTemp)

print GseosConvert(.ltof(lTemp)

>>> 72.34