In German and some other European languages, the comma rather than the period is used as a decimal separator and the dot is used as a thousands separator: 12.345,67. The comma creates some unwanted space when used as in $12.345,67$. Is there a light-weight package or some macro to support this? (I'm not looking for automatic formatting like insertion of a thousands separator.)
\documentclass{minimal}
\usepackage[utf8]{inputenc}
\begin{document}
Der Preis beträgt $12.345,67$ Euro.
\end{document}

An easy fix is typing $12.345,{}67$ but I think this is too cumbersome.
