(float f)
| 29 | */ |
| 30 | public class Common { |
| 31 | public static float convertToRoundedPercent(float f) { |
| 32 | return roundToSigFigs(f * 100, 3); |
| 33 | } |
| 34 | |
| 35 | public static float roundToSigFigs(float f, int sigFigs) { |
| 36 | BigDecimal bd = new BigDecimal(f); |
no test coverage detected