Mega Code Archive

 
Categories / VB.Net / Development
 

Math class

Imports System.IO Module Module1     Sub Main()         Console.WriteLine("Absolute value of -1 is " & Math.Abs(-1))         Console.WriteLine("Square Root of 144 is " & Math.Sqrt(144))         Console.WriteLine("Value for PI is " & Math.PI)         Console.WriteLine("10 raised to the power of 2 is " & Math.Pow(10, 2))              End Sub End Module