From 5a28e41a3105338f747b8a30f67000920490c67d Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Fri, 6 Jul 2018 10:38:38 +0530 Subject: make string as the default type --- js/Threshold/GENERAL_f.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/Threshold/GENERAL_f.js') diff --git a/js/Threshold/GENERAL_f.js b/js/Threshold/GENERAL_f.js index b3d38232..adc77cb3 100644 --- a/js/Threshold/GENERAL_f.js +++ b/js/Threshold/GENERAL_f.js @@ -29,8 +29,8 @@ function GENERAL_f() { return options; } GENERAL_f.prototype.set = function GENERAL_f() { - this.in1 = parseFloat((arguments[0]["in1"])) - this.out = parseFloat((arguments[0]["out"])) + this.in1 = parseFloat(arguments[0]["in1"]) + this.out = parseFloat(arguments[0]["out"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; -- cgit