static void Main(string[] args) { var number = 56745.980; var num1 = Math.Round(number); // nearest interger var num2 = Math.Round(number, 2); //two decimal place var num3 = Math.Ceiling(number); // nearest interger }