Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Math.Sign Method

Returns a value indicating the sign of a number.

Name Description
Math.Sign (Decimal) Returns a value indicating the sign of a decimal number.

Supported by the .NET Compact Framework.

Math.Sign (Double) Returns a value indicating the sign of a double-precision floating-point number.

Supported by the .NET Compact Framework.

Math.Sign (Int16) Returns a value indicating the sign of a 16-bit signed integer.

Supported by the .NET Compact Framework.

Math.Sign (Int32) Returns a value indicating the sign of a 32-bit signed integer.

Supported by the .NET Compact Framework.

Math.Sign (Int64) Returns a value indicating the sign of a 64-bit signed integer.

Supported by the .NET Compact Framework.

Math.Sign (SByte) Returns a value indicating the sign of an 8-bit signed integer.

Supported by the .NET Compact Framework.

Math.Sign (Single) Returns a value indicating the sign of a single-precision floating-point number.

Supported by the .NET Compact Framework.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft