There are 5E-34 Sun's mass in one g. In turn, one Sun's mass is equal to 5.976e+27 g.