mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Small tweak to make double formatting match what we had before.
This commit is contained in:
parent
7acbb8776d
commit
63e4ee3d81
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ void ODesc::Add(double d)
|
|||
else
|
||||
{
|
||||
char tmp[256];
|
||||
modp_dtoa(d, tmp, IsReadable() ? 15 : 17);
|
||||
modp_dtoa2(d, tmp, IsReadable() ? 6 : 8);
|
||||
Add(tmp);
|
||||
|
||||
if ( d == double(int(d)) )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue