Windows Dev Center

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.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member Supported by the XNA Framework Supported by Portable Class Library Sign(Decimal) Returns a value indicating the sign of a decimal number.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library Sign(Double) Returns a value indicating the sign of a double-precision floating-point number.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library Sign(Int16) Returns a value indicating the sign of a 16-bit signed integer.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library Sign(Int32) Returns a value indicating the sign of a 32-bit signed integer.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library Sign(Int64) Returns a value indicating the sign of a 64-bit signed integer.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library Sign(SByte) Returns a value indicating the sign of an 8-bit signed integer.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library Sign(Single) Returns a value indicating the sign of a single-precision floating-point number.
Top
Show:
© 2015 Microsoft