assertThat(formatter.percentage(0.1234,0), is("12%"));
}
@Test
public void formatter_should_round_percentages_up_to_zero_precision_if_required() {
NumericalFormatter formatter = new NumericalFormatter();
assertThat(formatter.percentage(0.1254,0), is("13%"));
}