Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DecimalConstantAttribute Constructor (Byte, Byte, Int32, Int32, Int32)

Initializes a new instance of the DecimalConstantAttribute class with the specified signed integer values.

Namespace:  System.Runtime.CompilerServices
Assembly:  mscorlib (in mscorlib.dll)

public DecimalConstantAttribute(
	byte scale,
	byte sign,
	int hi,
	int mid,
	int low


Type: System.Byte

The power of 10 scaling factor that indicates the number of digits to the right of the decimal point. Valid values are 0 through 28 inclusive.

Type: System.Byte

A value of 0 indicates a positive value, and a value of 1 indicates a negative value.

Type: System.Int32

The high 32 bits of the 96-bit Value.

Type: System.Int32

The middle 32 bits of the 96-bit Value.

Type: System.Int32

The low 32 bits of the 96-bit Value.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8

Portable Class Library

Supported in: Portable Class Library
© 2015 Microsoft