Don't crash when formatting a single number. (Fixes #106)