VarDecAbs function (oleauto.h)

Retrieves the absolute value of a variant of type decimal.

Syntax

HRESULT VarDecAbs(
  [in]  LPDECIMAL pdecIn,
  [out] LPDECIMAL pdecResult
);

Parameters

[in] pdecIn

The first variant.

[out] pdecResult

The second 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