C# – Rounding Down to Nearest Integer April 3, 2023 by Tarik Just try this.. int interval = Convert.ToInt32(Math.Floor(different/increment));