Move call to setlocale(LC_NUMERIC, C)