Precision can only be used on floating-point numbers and simply tells you how many places after the decimal point do you want to output. Just like in the first example of this lesson, by mentioning the precision %.2f, we told the compiler to only print up to two decimal places of our floating-point number.