as we know and explained here The oracle ROUND function will round number
up or down and i can choose how many digits after the , i want to use, but
I saw a function that has a ROUND as below
Example:
select round(125.11,-1) from dual;
what the minus one means ?? what it dose here ????
As per the documentation:
So:
round(n, 0)roundsnto the nearest unitround(n, 1)roundsnto the nearest tenthround(n, -1)roundsnto the nearest tenround(n, 2)roundsnto the nearest hundredthround(n, -2)roundsnto the nearest hundredetc