Aracılığıyla paylaş


Math.Sign Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

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.

Overload List

  Name Description
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Sign(Decimal) Returns a value indicating the sign of a decimal number.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Sign(Double) Returns a value indicating the sign of a double-precision floating-point number.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Sign(Int16) Returns a value indicating the sign of a 16-bit signed integer.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Sign(Int32) Returns a value indicating the sign of a 32-bit signed integer.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Sign(Int64) Returns a value indicating the sign of a 64-bit signed integer.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Sign(SByte) Returns a value indicating the sign of an 8-bit signed integer.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Sign(Single) Returns a value indicating the sign of a single-precision floating-point number.

Top

See Also

Reference