You can put any zeroes to the begginning of the number before the dot,
and you can put any zeroes after the end of the number after the dot.
0.05 = 0.050 = 0.05000000000000000000000
0.794 = 0000000000.794 =00.794000000000
Now you can place the numbers in a way that the dots will be on top of eachother
0000,05000000
0000.79400000
You don't need that many zeroes, you need only one zero here, so the two values will have the same number of digits.
0.050
0.794
Now compare the digits one-by-one from left to right. Whoever will have the first larger digit wins.
0 vs 0, they are equal, go to the next digit.
0 vs 7, 7 is greater than 0, 0.794 wins.
0.794 is greater than 0.05.