public static void Main()
foreach(double d in inputs)
Console.WriteLine("Input: \t{0}", d);
Console.WriteLine("Floor: \t{0}", GetNextWholeNumberFloor(d));
Console.WriteLine("Casting:\t{0}", GetNextWholeNumberCasting(d));
private static double GetNextWholeNumberFloor(double input)
return Math.Floor(input + 1);
private static double GetNextWholeNumberCasting(double input)