I think it has, but it will be different for different planets and stars since they have different masses, so they'll be attracting Earth towards themselves with different magnitude of force because,
g(acceleration due to gravity) = √GM/R2, where M & R are the mass and the radius of the body...