DecimalConstantAttribute Constructor (Byte, Byte, Int32, Int32, Int32)
Collapse the table of content
Expand the table of content

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
)

Parameters

scale
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.

sign
Type: System.Byte

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

hi
Type: System.Int32

The high 32 bits of the 96-bit Value.

mid
Type: System.Int32

The middle 32 bits of the 96-bit Value.

low
Type: System.Int32

The low 32 bits of the 96-bit Value.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2016 Microsoft