VarDecDiv function (oleauto.h)

Divides two variants of type decimal.

Syntax

HRESULT VarDecDiv(
  [in]  LPDECIMAL pdecLeft,
  [in]  LPDECIMAL pdecRight,
  [out] LPDECIMAL pdecResult
);

Parameters

[in] pdecLeft

The first decimal variant.

[in] pdecRight

The second decimal variant.

[out] pdecResult

The resulting decimal variant.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

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