2.9 g x 1000 = 2900 mg
2.9 g = 2900 mg
Multiply the value in grams by 1000 to get mg.
Open grams to mg converter