Identify the digit in the place you want to round to
Look at the digit immediately to the right
If that digit is 5 or greater, increase the rounding digit by 1
If that digit is less than 5, keep the rounding digit the same
Drop all digits to the right of the rounding place
If rounding to a whole number, round to the nearest integer
If rounding to a decimal place, keep only the required number of decimal digits
If the rounding digit is 9 and must increase, carry 1 to the left
Repeat carrying as needed if multiple digits become 10
Check the final rounded value for correctness
