public static <A extends Number & Comparable<?>> NumberExpression<A> round(Expression<A> num, int s) {
        return Expressions.numberOperation(num.getType(), MathOps.ROUND2, num, ConstantImpl.create(s));
    }
Round to s decimal places

@param num numeric expression
@param s decimal places
@return round(num, s)
querydsl-core/src/main/java/com/querydsl/core/types/dsl/MathExpressions.java