I don't know how to set all the labels on the same level.
\documentclass[french]{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[>=stealth,x=6cm,font=\footnotesize]
\draw [->] (0,0)--(1,0) ;
\foreach \x in {0,1,...,12} {%
\coordinate (\x) at (\x/12,0) ;
\draw [very thin] (\x/12,+2pt)--(\x/12,-2pt) ;
\pgfmathsetmacro\result{2 + \x / 10}
\node[above=1pt] at (\x)%
{\pgfmathprintnumber[precision=1,fixed,use comma]{\result}};
} ;
\end{tikzpicture}
\end{document}

