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/NonLinear/TrigFun.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/NonLinear/TrigFun.js') diff --git a/js/NonLinear/TrigFun.js b/js/NonLinear/TrigFun.js index b3f30c82..e0392284 100644 --- a/js/NonLinear/TrigFun.js +++ b/js/NonLinear/TrigFun.js @@ -21,7 +21,7 @@ function TrigFun() { return options; } TrigFun.prototype.set = function TrigFun() { - this.fun = parseFloat((arguments[0]["fun"])) + this.fun = arguments[0]["fun"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; -- cgit