simple-squiggle

A restricted subset of Squiggle
Log | Files | Refs | README

commit 0b4905a06aebed57dcf911ce22a8c674d967b34e
parent a1ce546c8328e49ebf63ceb973e42626eebdda08
Author: NunoSempere <nuno.sempere@protonmail.com>
Date:   Tue,  3 May 2022 12:39:16 -0400

tweak: output display

Diffstat:
Msrc/index.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/index.js b/src/index.js @@ -239,7 +239,7 @@ let customToStringHandlerToGuesstimateSyntax = (node, options) => { } }; -let toPrecision2 = (f) => f.toPrecision(2); +let toPrecision2 = (f) => f.toPrecision(2).toString(); let toShortGuesstimateString = (node) => { if (isArgLognormal(node)) { let factors = getFactors(node);