Modified handling of zero precision in formatFloat (#6719)

This commit is contained in:
Fabian Keller 2017-11-15 21:23:33 +01:00 • committed by Andreas Rumpf
commit 5e66a7ce59
2 changed files with 16 additions and 9 deletions

View file

@ -74,5 +74,9 @@ This now needs to be written as:
var a = -5
for i in a..b:
echo i
- ``formatFloat``/``formatBiggestFloat`` now support formatting floats with zero
precision digits. The previous ``precision = 0`` behavior (default formatting)
is now available via ``precision = -1``.
- Removed deprecated romans module from the stdlib and published it as separate
Nimble package.