In order to compare the numbers, we need to check each pair of digits that are in the same position before and after the decimal point.
We start from the left to the right. If the result of one number is greater, than this number is greater than the other number. If the digits of both numbers are the same, we move to the next digit and compare them.
So we have:
Unit position: 8 and 8
Equal results, so let's check the next digit.
Tenth position: 0 and 0.
Equal results, so let's check the next digit.
Hundredth position: 1 and 3.
3 is greater than 1, so the second number is greater than the first one.
Therefore 8.012 is less than 8.03.