I pass a bunch of numbers into a custom command defined via \newcommand{\mycmd}[1]{...}:
\mycmd{1.12}
\mycmd{5.32}
\mycmd uses the number to draw a certain figure. On top of that, I would like to print the number in \mycmd, but with a comma instead of a decimal point: 1,12, 5,32.
Any suggestion would be appreciated.

