The %f print specificationalong with those for integers, strings, and other data typesis explained more fully in the hardcopy version of this book.
%f