Bridge

Decimal Constructor (Int32, Int32, Int32, Boolean, Byte)

Initializes a new instance of Decimal from parameters specifying the instance's constituent parts.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[EditorBrowsableAttribute]
public Decimal(
	int lo,
	int mid,
	int hi,
	bool isNegative,
	byte scale
)
<EditorBrowsableAttribute> _
Public Sub New ( _
	lo As Integer, _
	mid As Integer, _
	hi As Integer, _
	isNegative As Boolean, _
	scale As Byte _
)
[EditorBrowsableAttribute]
public:
Decimal(
	int^ lo, 
	int^ mid, 
	int^ hi, 
	bool^ isNegative, 
	unsigned char^ scale
)

Parameters

lo
Type: System..::..Int32
The low 32 bits of a 96-bit integer.
mid
Type: System..::..Int32
The middle 32 bits of a 96-bit integer.
hi
Type: System..::..Int32
The high 32 bits of a 96-bit integer.
isNegative
Type: System..::..Boolean
true to indicate a negative number; false to indicate a positive number.
scale
Type: System..::..Byte
A power of 10 ranging from 0 to 28.

Exceptions


ExceptionCondition
System..::..ArgumentOutOfRangeExceptionscale is greater than 28.