# Category: Math

### Rounding a number up to it’s nearest order of ten

I’m hopeless at math, this is just for future reference as it really bugged me. How to round a number up to it’s upper orderĀ of 10. Not a simple as it may seem. Examples: 800 -> 1000 125 -> 1000 80 -> 100 43 -> 100 8 -> 10 9 […]