Well, if we want to be pedantic, they never said that h is the height and r is the radius of the base circle. They could be just random numbers.
Also, since we never calculate with all the digits of pi, it is not any less weird to round to the nearest 5 and say that it’s 5, than to the nearest 0.01 and saying it’s 3.14. It just has a higher amount of rounding error.