Modified handling of zero precision in formatFloat (#6719)
This commit is contained in:
parent
0ab373115c
commit
5e66a7ce59
2 changed files with 16 additions and 9 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue