wdavidw/node-printf — pull request #12 by derrell (2014-03-15 15:31:28+00:00)
Title: strip trailing zeros only from fractional part, not from exponent

Trailing (significant) zeros were being stripped from the exponent when using %g. This patch fixes the problem.