change %f to be locale aware