The documentation for NumberFormat and DecimalFormat is not as clear as it
should be about the behavior of the formatters in edge cases, for example, what
it does when the maximum number of integer digits is exceeded, under what cases
are trailing zeroes dropped when the fractional part of the pattern contains
trailing #, and so forth.