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

# VarDecSub(3w)

## NAME

**VarDecSub** (OLEAUT32.181)

## SYNOPSIS

HRESULT VarDecSub\
  (\
   const DECIMAL\* *pDecLeft*,\
   const DECIMAL\* *pDecRight*,\
   DECIMAL\*       *pDecOut*\
  )

## DESCRIPTION

Subtract one **DECIMAL** from another.

## PARAMS

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

*pDecRight* **\[In\]**  **DECIMAL** to subtract from *pDecLeft*.

*pDecOut* **\[Out\]**  Destination.

## RETURNS

**Failure:** **DISP\_E\_OVERFLOW**, if the value will not fit in the destination

## IMPLEMENTATION

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

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

Debug channel **"variant"**.
