en:software:qview:qview_6:qcl_library:vr10tosingle

This translation is older than the original page and might be outdated. See what has changed.

VR10ToSingle

V = Variables

R = Reading functions

BINARY —→ SINGLE

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

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

  • Last modified: 2019/08/29 17:01