public static double percent(double a, double b) { return (a * b) / 100; * I changed parameters from int to double, expecting to return a decimal type number. This test only accepts parameter multiplied by 1.0, I understand this forces the compiler, but former should have worked.....