Help Center

DVARIANT.PutDecFromCYmethod

Converts a currency value to a variant of type VT_DECIMAL.

COMmethodDVARIANT.INCdocumented

Syntax

FUNCTION PutDecFromCY (BYVAL cyIn AS CY) AS HRESULT

Parameters

NameDescription
cyInThe currency value to convert.

Return value

This function can return one of these values.

Description

Converts a currency value to a variant of type VT_DECIMAL.

Remarks

Creates a VT_DECIMAL variant.

Reference

  • Include file DVARIANT.INC
  • Defined in AfxNova/DVARIANT.inc:1456
  • Documented in COM/DVARIANT Class.md
  • Topic: DVARIANT Class