Rounding is based on if the number is greater than 5, if it is indeed greater than 5 it precedes to a higher number.
For instances, 37 rounds up to 40 or with smaller numbers 5 rounds to 10.
To address this question, 30 does not round up nor down, it remains as 30 because the ones place is less than 5.
To summarize