strleni C function to calculate the string length of a decimal integer to base 8, 10, 16 string conversion Usage #include "strleni.h" uint8_t len = strlenid(x, base);