Format scientific notation returns NaN if negative exponential is beyond 7 points

Author: dtruong1801Created May 24, 2017Updated Jan 26, 2024

numeral return NaN in version 2.0.6 if format negative exponential is beyond 7 points.

numeral(1e-7).format('0,0.00') version 2.0.4 numeral returns 0.00 version 2.0.6 numeral return NaN