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- basen- number of decimal places
- Return:
- the rounded value
- Since:
- JPA 2.0