Stop truncating numbers
Residual change from the original debugger, not a good thing in this
context.
commit9f790cb208b1b202503fc24b6d3b267e7ea3aeb1
authorEvan Czaplicki <info@elm-lang.org>
dateMon 18 Aug 2014, 12:49 (12 years ago)
parentd71e023
libraries/Native/Show.js+1−1
@@ -20,7 +20,7 @@ Elm.Native.Show.make = function(elm) {
2020 return v ? "True" : "False";
2121 }
2222 else if (type === "number") {
23− return v.toFixed(2).replace(/\.0+$/g, '');
23+ return v + "";
2424 }
2525 else if ((v instanceof String) && v.isChar) {
2626 return "'" + addSlashes(v) + "'";