Share via


DecimalValue Struct

Definition

A Windows Runtime (WinRT) representation with the identical memory layout and encoding of the Win32 DECIMAL structure. The Win32 DECIMAL structure's definition is valid for COM, but not for WinRT (making this equivalent structure necessary).

public value class DecimalValue
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.Foundation.DecimalContract, 65536)]
struct DecimalValue
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.Foundation.DecimalContract), 65536)]
public struct DecimalValue
var decimalValue = {
reserved : /* Your value */,
scale : /* Your value */,
sign : /* Your value */,
hi32 : /* Your value */,
lo64 : /* Your value */
}
Public Structure DecimalValue
Inheritance
DecimalValue
Attributes

Fields

Name Description
Hi32
Lo64
Reserved
Scale

Allowed values: 0-28.

Sign

Allowed values: 0x80 = negative, 0x00 = zero or positive.

Applies to