Coerce numbers to strings rather than stringify.
Consolidate writes.
Make this code a bit more symmetric.
Remove one level of closure.
Remove old comment.
Fix point output.