private static string GetPercentageRounds(Double percentage) {
if (percentage > 0.0 && percentage <= 0.1)
if (percentage > 0.1 && percentage <= 0.2)
if (percentage > 0.2 && percentage <= 0.3)
if (percentage > 0.3 && percentage <= 0.4)
if (percentage > 0.4 && percentage <= 0.5)
public static void Main()
Console.WriteLine(GetPercentageRounds(.1 + .2));