From 02dfbe9a9e5e734b87f81abc12fdede9239d8750 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20V=C3=A9ril?= Date: Sat, 1 Feb 2020 17:24:58 +0100 Subject: [PATCH] fix bug in floatUtils --- static/js/floatUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/floatUtils.js b/static/js/floatUtils.js index c9410ae4..ae068a64 100644 --- a/static/js/floatUtils.js +++ b/static/js/floatUtils.js @@ -9,7 +9,7 @@ class stringFloat{ return this.Value; } toString(){ - if (isNaN(checkFloat(this.Value))) { + if (checkFloat(this.string)) { return this.Value } else { return this.string