Mega Code Archive

 
Categories / VB.Net / Development
 

Math Round rounds a decimal value to the nearest integral value

Imports System Module Module1     Sub Main()         Console.WriteLine(Math.Round(4.4)) ' 4     End Sub End Module