C# – Rounding Down to Nearest Integer

Just try this..

 int interval = Convert.ToInt32(Math.Floor(different/increment));

Leave a Comment