VarCyAbs function (oleauto.h)

Retrieves the absolute value of a variant of type currency.

Syntax

HRESULT VarCyAbs(
  [in]  CY   cyIn,
  [out] LPCY pcyResult
);

Parameters

[in] cyIn

The currency variant.

[out] pcyResult

The resulting variant.

Return value

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

Requirements

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