beautypg.com

B&B Electronics VFG3000 - Manual User Manual

Page 307

background image

F

UNCTION

R

EFERENCE

M

AKE

F

LOAT

(

VALUE

)

R

EVISION

1

P

AGE

291

M

AKE

F

LOAT

(

VALUE

)

A

RGUMENT

T

YPE

D

ESCRIPTION

value

int

The value to be converted.

D

ESCRIPTION

Reinterprets the integer argument as a floating-point value. This function does not perform a
type conversion, but instead takes the bit pattern stored in the argument, and assumes that
rather than representing an integer, it actually represents a floating-point value. It can be used
to manipulate data from a remote device that might actually have a different data type from
that expected by the communications driver.

F

UNCTION

T

YPE

This function is passive.

R

ETURN

T

YPE

float

.

E

XAMPLE

fp := MakeFloat(n);