since percentages are out of 100.

and you must times 10 times 10 to get 100.

and you must do the same thing to the numerator.

and 4 times 10 is 40.

therefore 4/10 is equal to 40/100 which is equal to 40%.