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

Converts a Decimal to an Int16.

Overload List

Converts a Decimal to an Int16 with a specified format.

[Visual Basic] Overloads Public Shared Function ToInt16(Decimal) As Short
[C#] public static short ToInt16(Decimal);
[C++] public: static short ToInt16(Decimal);
[JScript] public static function ToInt16(Decimal) : Int16;

Converts a Decimal to an Int16 with the default format.

[Visual Basic] Overloads Overridable Public Function ToInt16() As Short
[C#] public virtual short ToInt16();
[C++] public: virtual short ToInt16();
[JScript] public function ToInt16() : Int16;

See Also

Decimal Structure | Decimal Members | System Namespace