### Question:
FractionNormalizer implements Normalization { public static String normalizeFraction(String input, String ruleId) { String[] split = input.split("/"); return "" + (parseFloat(split[0]) / parseFloat(split[1])); }  String normalize(String input, String ruleId); static String normalizeFraction(String input, String ruleId);  }### Answer:
@Test public void test() { assertEquals("0.5", normalizeFraction("1/2", null)); assertEquals(0.12, new Float(normalizeFraction("1.2/10", null)), 0.00001); }