| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -166,7 +166,9 @@ function runStream (input, output) { | |||
| 166 | 166 | var res = parser.eval(expr); | |
| 167 | 167 | if (!Array.isArray(res) || res.length) { | |
| 168 | 168 | // TODO: how to distinguish array output from multi-line output? | |
| 169 | - console.log(math.format(res)); | ||
| 169 | + console.log(math.format(res, { | ||
| 170 | + precision: 5 | ||
| 171 | + })); | ||
| 170 | 172 | } | |
| 171 | 173 | } | |
| 172 | 174 | catch (err) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments