Pi is a number.
Number theory or , in older usage , arithmetic is a branch of pure mathematics devoted primarily to the study of the integers . The number is a mathematical constant , the ratio of a circle 's circumference to its diameter , commonly approximated as 3.14159 . Still , fractions such as 22/7 and other rational numbers are commonly used to approximate .