Sometimes it is necessary to reduce a number with e.g. 10 decimal places to 2 decimal places. In the expression Editor there is the ROUND(X) function available. But it returns a rounded integer only without any decimal places.
Once it should be rounded up properly and once it should be rounded down properly.
SolutionIf you are looking to do rounding to the nearest numbers of decimal places, then in Expression editor use the round function of a multiply and then divide.
e.g.: round(XY*100)/100