Question: how to subtract decimal number from a whole number?
Answer: Write down the two numbers, one under the other, with the decimal points lined up.
Add zeros so the numbers have the same length.
Then subtract normally, remembering to put the decimal point in the answer.