| Platform SDK: Automation | 
Compares two variants of types float and double.
HRESULT VarR4CmpR8( float fltLeft, double dblRight );
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. | 
  Windows NT/2000: Requires Windows NT 4.0 SP4 or later.
  Windows 95/98: Requires Windows 98 (or Windows 95 with DCOM 1.2).
  Header: Declared in Oleauto.h.
  Library: Use Oleaut32.lib.