decimal_places
precision = decimal_places(buf);
if ((places = decimal_places(buf)))
static int decimal_places(const char *);