#include "internal.h" void fmt·setlocale(fmt·State *io, char *decimal, char *thousands, char *groups) { if(decimal == nil || decimal[0] == '\0') decimal = "."; if(thousands == nil) thousands = ","; if(groups == nil) groups = "\3"; io->groups = groups; io->decimal = decimal; io->thousands = thousands; }