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 Sign(Decimal) Returns a value indicating the sign of a decimal number.
Public method Static member Sign(Double) Returns a value indicating the sign of a double-precision floating-point number.
Public method Static member Sign(Int16) Returns a value indicating the sign of a 16-bit signed integer.
Public method Static member Sign(Int32) Returns a value indicating the sign of a 32-bit signed integer.
Public method Static member Sign(Int64) Returns a value indicating the sign of a 64-bit signed integer.
Public method Static member Sign(SByte) Returns a value indicating the sign of an 8-bit signed integer.
Public method Static member Sign(Single) Returns a value indicating the sign of a single-precision floating-point number.
Top
Show:
© 2014 Microsoft