Help Center

DVARIANT.PutDecFromDoublemethod

Converts a double value to a variant of type VT_DECIMAL.

COMmethodDVARIANT.INCdocumented

Syntax

FUNCTION PutDecFromDouble (BYVAL dbIn AS DOUBLE) AS HRESULT

Parameters

NameDescription
dbInThe DOUBLE value to convert.

Return value

This function can return one of these values.

Description

Converts a double value to a variant of type VT_DECIMAL.

Remarks

Creates a VT_DECIMAL variant.

Reference

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