To convert grams to ounces divide by 28.34952. I've generated some hopefully helpful examples randomly below, as with most random sentences please excuse the repetitive and occasionally comic outcomes.

How many ounces of platinum are there in 9.8 grams? Just divide by 28.34952 to get the answer of 0.34568487 ounces.

In 3.5 grams of diamonds there are 0.12345888 ounces, to achieve this take 3.5 and just divide by 28.34952.

You've got 6.7 grams of emeralds but someone only wants to buy that in units of ounces, to change the units divide by 28.34952. Now you have 0.23633557 ounces.