VarR4CmpR8 Function

Compares two variants of types float and double.

HRESULT VarR4CmpR8(  
  float     fltLeft,         
  double    dblRight  
);

fltLeft

[in] The first variant of type float.

dblRight

[in] The second variant of type double.

The function returns the following as a SUCCESS HRESULT:

Options

Value

Meaning

VARCMP_LT

0

The fltLeft is less than dblRight.

VARCMP_EQ

1

The two parameters are equal.

VARCMP_GT

2

The fltLeft is greater than dblRight.

VARCMP_NULL

3

Either expression is NULL.

Show:
© 2014 Microsoft