sprintf tests on rounding numbers like 1.969.

Tests issues found by japhb.