VarR4CmpR8 function (oleauto.h)

Compares two variants of types float and double.

Syntax

HRESULT VarR4CmpR8(
  [in] float  fltLeft,
  [in] double dblRight
);

Parameters

[in] fltLeft

The first variant.

[in] dblRight

The second variant.

Return value

The function returns the following as a SUCCESS HRESULT.

Return code/value Description
0
fltLeft is less than dblRight.
1
The two parameters are equal.
2
fltLeft is greater than dblRight.
3
Either expression is NULL.

Requirements

Requirement Value
Target Platform Windows
Header oleauto.h
Library OleAut32.lib
DLL OleAut32.dll