what does the % % mean in java?

ajsie picture ajsie · Jan 8, 2010 · Viewed 10.6k times · Source

Im a PHP-programmer and wonder what this line means.

System.out.printf("exp(%.3f) is %.3f%n", x, Math.exp(x))

what does %.3f, %.3f%n and the comma x means?