To find the approximate weight of all the ants in the world, you can multiply the weight of one ant by the total number of ants.
The weight of one ant is \( 3 \times 10^{-6} \) kg, and the number of ants is \( 1 \times 10^{16} \).
So, you perform the multiplication as follows:
\[ (3 \times 10^{-6}) \times (1 \times 10^{16}) = 3 \times 1 \times 10^{-6 + 16} \] \[ = 3 \times 10^{10} \]
Thus, the approximate weight of all the ants in the world is:
\[ \boxed{3 \times 10^{10}} \text{ kg} \]