To round the weight of the baseball, which is 5.125 ounces, to the nearest whole number, we look at the decimal part.
The decimal part is 0.125. Since it is less than 0.5, we round down.
Therefore, the weight of the baseball rounded to the nearest whole number is:
5 ounces.
So the correct answer is:
A. 5 ounces.