0.12 gm of an organic compound containing phosphorus gave 0.22 gm of Mg₂P₂O₇ by the usual analysis. Calculate the percentage of phosphorus in the compound.