This program calculates the amount of instances an event occurs within time. The issue is that when I'm getting decimal numbers the program does not round how I want it to, for example: if i divide 7/5 i get 1, is it possible to get 2? the 'double' answer yields: 1.4.
static void Main(string[] args) {
var kim = 7/5 ;
Console.WriteLine(kim);
Console.ReadKey();
}
Any division I make I want it to round up.
For example: 7/5 = 1.4, but I want it to be 2; 5/2 = 2.5, but I want it to be 3, etc.