Modify number formatting so that 1e-3 renders as 0.001, not .001
This commit is contained in:
1 parent
6041fd7661
commit
cf004c2b3a
1 file changed
+1
@@ -4247,6 +4247,7 @@ jvp_dtoa
|
||||
*b = 0;
|
||||
}
|
||||
else if (decpt <= 0) {
|
||||
*b++ = '0';
|
||||
*b++ = '.';
|
||||
for(; decpt < 0; decpt++)
|
||||
*b++ = '0';
|
||||
|
||||
Reference in new issue
Block a user