to compare changing fraction into decimal is the simplest way.
so 4/10=0.4
1/2=0.5
ya 0.4 is greater than 0 because it is 0.4 there is four , and it is less than 0.5 because 4 is less than 5:- to compare decimals we should only see the number after the decimal of the numbers if only the numbers before decimals are the same.