beautypg.com

B&B Electronics VFG3000 - Manual User Manual

Page 308

background image

M

AKE

I

NT

(

VALUE

)

V

LINX

F

IELDBUS

G

ATEWAY

M

ANAGER

U

SER

M

ANUAL

P

AGE

292

M

AKE

I

NT

(

VALUE

)

A

RGUMENT

T

YPE

D

ESCRIPTION

value

float

The value to be converted.

D

ESCRIPTION

Reinterprets the floating-point argument as an integer. This function does not perform a type
conversion, but instead takes the bit pattern stored in the argument, and assumes that rather
than representing a floating-point value, it actually represents an integer. 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

int.

E

XAMPLE

n := MakeInt(fp);