On a number line, the numbers have lesser value as they become more negative. On a number line, - 24 is more negative than - 21. This means that it is lesser than - 21.
1.83 x 10^-24 is raised to a lesser number compared to 1.66 x 10^-21
Thus, a milligram is greater