Commit 8e38c89
committed
Fix negative integers rendered as floats in CSV output
The numeric fallback chain as_u64 -> as_f64 caused negative integers
to fail as_u64 and fall through to as_f64, producing "-1.0" instead of
"-1". Insert as_i64 between as_u64 and as_f64 to handle negative integers
correctly.1 parent fb91a34 commit 8e38c89
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
| |||
0 commit comments