how to round a double to an int in c# code example Example: round to int 32 c# Convert.Toint64(number)