For numeric values, ROUND with a negative precision rounds to the left of the decimal point, so ROUND(15.193, -1) returns 20. TRUNC accepts a negative precision and truncates digits to the left of the decimal point, so it does not cause an error. The first and fourth expressions both evaluate to 15: truncating to one decimal place before rounding, or rounding to one decimal place before truncating to an integer, produces the same final result.
Community Discussion