What I mean is that %s goes to %d for isIntegral!(typeof(x)), and %s goes to %g for isFloatingPoint!(typeof(x)), and stays as %s for everything else.Given this, you could probably write the function you were looking for.-Steve
I realized I was more interested in the length of the result than the type.