>>110
sprintf(buffer, "%04d", data);