Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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