NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Decimal.ScaleMask

Representing the constant that is the scale mask for the flags field.

[Visual Basic]
Public Const ScaleMask As Integer
[C#]
public const int ScaleMask;
[C++]
public: const int ScaleMask;
[JScript]
public var ScaleMask : int;

Remarks

The ScaleMask is for the flags field. This byte in the flags field contains the power of ten with which to divide the Decimal value. The scale byte must contain a value between 0 through 28, inconclusive.

The ScaleMask hexadecimal value is 0x00FF0000.

A value of zero in this bit indicates a positive Decimal value, and a value of one in this bit indicates a negative Decimal value.

The number of bits the scale (ScaleShift) is shifted by is 16.

See Also

Decimal Structure | Decimal Members | System Namespace