asp.net.ph

Math.Sign Method ( Int64 )

System Namespace   Math Class


Returns a value indicating the sign of a 64-bit signed integer.

[ VB ]
Overloads Public Shared Function Sign ( _
   ByVal value As Long _
) As Integer

[ C# ]
public static int Sign (
   long value
);

[ C++ ]
public: static int Sign (
   __int64 value
);

[ JScript ]
public static function Sign (
   value : long
) : int;

Parameters

value
A signed number.

Return Value

A number indicating the sign of value.

Number Description
-1 value is less than zero.
0 value is equal to zero.
1 value is greater than zero.

See Also

Math Members   Math.Sign Overload List Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph