VarCyCmpR8 Function

Compares a variant of type currency with a value of type double.

HRESULT VarCyCmpR8(
    [in]  CY      cyLeft,
    [in]  double  dblRight
);

Term

Definition

cyLeft

[in] The first variant of type currency.

dblRight

[in] The second value of type double.

The function returns the following as a SUCCESS HRESULT:

Options

Value

Meaning

VARCMP_LT

0

The cyLeft is less than dblRight.

VARCMP_EQ

1

The two parameters are equal.

VARCMP_GT

2

The cyLeft is greater than dblRight.

VARCMP_NULL

3

Either expression is NULL.

Show:
© 2014 Microsoft