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

# VarDecFromR4(3w)

## NAME

**VarDecFromR4** (OLEAUT32.193)

## SYNOPSIS

HRESULT VarDecFromR4\
  (\
   FLOAT    *fltIn*,\
   DECIMAL\* *pDecOut*\
  )

## DESCRIPTION

Convert a **VT\_R4** to a **DECIMAL**.

## PARAMS

*fltIn* **\[In\]**  Source.

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

## RETURNS

**S\_OK**.

## IMPLEMENTATION

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

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

Debug channel **"variant"**.
