Windows apps
Collapse the table of content
Expand the table of content
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 an integer that indicates the sign of a number.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticSign(Decimal)

Returns an integer that indicates the sign of a decimal number.

System_CAPS_pubmethodSystem_CAPS_staticSign(Double)

Returns an integer that indicates the sign of a double-precision floating-point number.

System_CAPS_pubmethodSystem_CAPS_staticSign(Int16)

Returns an integer that indicates the sign of a 16-bit signed integer.

System_CAPS_pubmethodSystem_CAPS_staticSign(Int32)

Returns an integer that indicates the sign of a 32-bit signed integer.

System_CAPS_pubmethodSystem_CAPS_staticSign(Int64)

Returns an integer that indicates the sign of a 64-bit signed integer.

System_CAPS_pubmethodSystem_CAPS_staticSign(SByte)

Returns an integer that indicates the sign of an 8-bit signed integer.

System_CAPS_pubmethodSystem_CAPS_staticSign(Single)

Returns an integer that indicates the sign of a single-precision floating-point number.

Return to top
Show:
© 2016 Microsoft