I was taught that "pi" is the ratio of the radius and/or diameter of a circle to its circumference.

What circle's circumference and diameter were measured to be able to get a number that has hundreds of numbers after the decimal point?

For many practical purposes, 22/7 (3-1/7) or 3.1416 seems to be a fairly close approximation.