round of double value main value in c# code example Example 1: c# round double Math.Round(1.23) Example 2: round to int 32 c# Convert.Toint64(number)