You are correct! You solved this problem by...

0.2dg x g/10dg x 1000mg/g = 20 mg