AJChapman / formatting

Format strings type-safely with combinators
BSD 3-Clause "New" or "Revised" License
164 stars 39 forks source link

Regression where shortest displays in scientific notation #59

Closed spencerjanssen closed 4 years ago

spencerjanssen commented 4 years ago

In older versions of formatting (such as 6.2.5), format shortest (0.01 :: Double) would evaluate to "0.01". In 6.3.7 the same expression evaluates to "1.0e-2".

I believe this was introduced in c5f9492e3d4e5d50c10a3c7cbb8406eb62ad9a81

AJChapman commented 4 years ago

Thanks for the report. This is fixed in 7.0.0.