VarDecCmpR8 Function

Compares a variant of type decimal with the a value of type double.

HRESULT VarDecCmpR8(  
  LPDECIMAL  pdecLeft,         
  double  dblRight  
);

pdecLeft

[in] Points to the first variant of type decimal.

dblRight

[in] The second value of type double.

The function returns the following as a SUCCESS HRESULT:

Options

Value

Meaning

VARCMP_LT

0

The pdecLeft is less than dblRight.

VARCMP_EQ

1

The two parameters are equal.

VARCMP_GT

2

The pdecLeft is greater than dblRight.

VARCMP_NULL

3

Either expression is NULL.

Show:
© 2014 Microsoft