beautypg.com

B&B Electronics VFG3000 - Manual User Manual

Page 309

background image

F

UNCTION

R

EFERENCE

M

AX

(

A

,

B

)

R

EVISION

1

P

AGE

293

M

AX

(

A

,

B

)

A

RGUMENT

T

YPE

D

ESCRIPTION

a

int

/

float

The first value to be compared.

b

int

/

float

The second value to be compared.

D

ESCRIPTION

Returns the larger of the two arguments.

F

UNCTION

T

YPE

This function is passive.

R

ETURN

T

YPE

int

or

float

, depending on the type of the arguments.

E

XAMPLE

Larger := Max(Tank1, Tank2)