Not so much leave the "," but allow the locale to dictate it. If your program uses locale aware conversions and I was to use your program with my UK locale it would automatically expect a period as the separator.

Just to be clear the locale only affects numbers in string form, numbers internally always use the period.