When using
printf "%.1f", $var ;
How do I get the output to include a ',' as the decimal
separator and not a '.'.
If $var is a real number from a db and for example is 10.5
I want it to print 10,5 not 10.5. The output is being opened
by an Excel file from a web page. This script is being used
in Finland where ',' is used as the decimal point. And '.'
is the date separator.
If Excels sees 10.5 it thinks it is the 10th of May :(
Thanks Scott