Expand Minimize

VarCyCmpR8 function

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

Syntax


HRESULT VarCyCmpR8(
  _In_  CY cyLeft,
  _In_  double dblRight
);

Parameters

cyLeft [in]

The first variant.

dblRight [in]

The second variant.

Return value

This function can return one of these values.

Return code/valueDescription
VARCMP_LT
0

cyLeft is less than dblRight.

VARCMP_EQ
1

The two parameters are equal.

VARCMP_GT
2

cyLeft is greater than dblRight.

VARCMP_NULL
3

Either expression is null.

 

Remarks

Windows Phone 8.1: This API is supported.

Requirements

Header

OleAuto.h

Library

OleAut32.lib

DLL

OleAut32.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft