number formatting in foreach statement of tikz

I have the following code:

\begin{tikzpicture}
\foreach \i [evaluate=\i as \ii using \i+5] in {1,2,3,4} {
\node at (\i,0) {\ii};
}
\end{tikzpicture}


I like to print 6 7 8 9, but the above code prints 6.0 7.0 8.0 9.0. How can I control the precision in the evaluate statement?

-

You can use the \pgfmathprintnumber{\ii} instead of \ii. See Section 66 in the PGF/TikZ manual for more information about the syntax.

-
You could also say evaluate=\i as \ii using int(\i+5), then \ii will hold just the integer part. –  Jake Mar 4 '12 at 9:19
@Jake That's even better! Thanks. –  percusse Mar 4 '12 at 23:58
You can use the numprint package, and say:
\nprounddigits{0}\numprint{\ii}

An alternative is the number printing facility of the siunitx package. You have the \num macro, usable as follows:
\sisetup{round-mode = places}% in preamble