JPA Method
in jakarta.persistence.criteria.CriteriaBuilder

Expression<T> round(
  Expression<T> x, 
  Integer n
)


Create an expression that returns the first argument rounded to the number of decimal places given by the second argument.
Parameters:
x - base
n - number of decimal places
Return:
the rounded value
Since:
JPA 2.0