VR10ToSingle

V = Variables

R = Reading functions

BINARY —→ SINGLE

The VR10ToSingle function converts a Long Binary variable type (format IEEE754) in an Single float type.

IMPLEMENTATION

VR10ToSingle (input, output)

Parameters:

IN/OUTVARIABLE TYPEEXAMPLE TYPEDIM
IN GLOBAL
SYSTEM
input L Variable containing the IEEE754 data format to be converted.
OUT GLOBAL
SYSTEM
output S Variable containing the data converted.

Example

Transforms the value &H435ef361 in an Single value.

input = &H435ef361
 
VR10ToSingle (input, output)
 
;On the data output will be :
; output = 222.9506989

Note