# 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 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