fix number list formatter

fix number list formatter for cases when the max value equals a magnitude boundary and there are no intermediate values