---
name: "VarDecCmpR8"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/VarDecCmpR8"
---

# VarDecCmpR8(3w)

## NAME

**VarDecCmpR8** (OLEAUT32.298)

## SYNOPSIS

HRESULT VarDecCmpR8\
  (\
   const DECIMAL\* *pDecLeft*,\
   double         *dblRight*\
  )

## DESCRIPTION

Compare a **DECIMAL** to a double.

## PARAMS

*pDecLeft* **\[In\]**  **DECIMAL** Source.

*dblRight* **\[In\]**  double to compare to *pDecLeft*.

## RETURNS

**Success:** **VARCMP\_LT**, **VARCMP\_EQ** or **VARCMP\_GT** indicating that *dblRight* is less than, equal to or greater than *pDecLeft* respectively.

**Failure:** **DISP\_E\_OVERFLOW**, if overflow occurs during the comparison

## IMPLEMENTATION

Declared in **"oleauto.h"**.

Implemented in **"dlls/oleaut32/vartype.c"**.

Debug channel **"variant"**.
