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






Math.Floor

  

Module Module1

    Sub Main()
        Console.WriteLine("Ceiling(1.1), Ceiling(0.9) = " & Math.Ceiling(1.1) & " " & Math.Ceiling(0.9))
        Console.WriteLine("Exp(5) = " & Math.Exp(5))
        Console.WriteLine("Log10(100) = " & Math.Log10(100))
        Console.WriteLine("Max(1001, 100) = " & Math.Max(1001, 100))
        Console.WriteLine("Min(1001, 100) = " & Math.Min(1001, 100))
        Console.WriteLine("Floor(1.1), Floor(0.9) = " & Math.Floor(1.1) & " " & Math.Floor(0.9))
        Console.WriteLine("Round(1.1), Round(0.9) = " & Math.Round(1.1) & " " & Math.Round(0.9))
    End Sub

End Module

   
    
  








Related examples in the same category

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