On Monday, 21 August 2017 at 15:39:04 UTC, Steven Schveighoffer wrote:

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.

Reply via email to