Is my answer and working out correct for this question?

A patient requires 0.08g of codeine for pain releif. If a tablet contains 20mg of codeine, then how many of the condeine tablets would be administered to the patient?

My answer:

1000mg = 1g

0.08g x 1000mg / 1g = 80mg

80 / 20 = 4

Answer = 4 tablets of codeine

Thank you.

80 mg = 0.08 grams

4 tablets x 20mg ea = 80 mg

Looks good :)