class MathUtil extends AbstractCaller {

    @Description("Rounds <b>d</b> with specified <b>precision</b><br/>"
            + "<b>d</b> - double value for rounding<br/>"
            + "<b>precision</b> - the number of digits after the decimal separator<br/>"
            + "Example:<br/>"
            + "#{round(5.4564638, 4)} returns 5.4565")
    @UtilityMethod
    public double round(double d, int precision) {
        String formatString = buildFormatString(precision);
        return formatDouble(formatString, d);
    }

}