Math.Sign : Math « System « VB.Net by API






Math.Sign

  
Imports System

public class MainClass
   Shared Sub Main()

        Console.WriteLine(System.Math.Sign(-1))
        Console.WriteLine(System.Math.Sign(0))
        Console.WriteLine(System.Math.Sign(1))
   End Sub
End Class

   
    
  








Related examples in the same category

1.Math.Acos
2.Math.Asin
3.Math.Atan
4.Math.Atan2
5.Math.Cos
6.Math.Floor
7.Math.Max
8.Math.PI
9.Math.Pow
10.Math.Round
11.Math.Sin
12.Math.Sqrt