For TikZ and pgfplots I use :
\tikzset{/pgf/number format/.cd,use comma,1000 sep={\,}}
And all numbers are typeset accordingly, with no other command.
Is there a way to have the same convenience for a LaTeX document?
Not using any command such as \nombre{} nor \num{} but in something like for the math mode comma : Comma in math mode
pgfplots, internally it can wrap it up in a formatting command (based on\pgfmathparsehere). – Joseph Wright Apr 27 '14 at 08:59\num,\pgfmathprintnumberetc. – percusse Apr 27 '14 at 09:41