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/Linear/REGISTER.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/Linear/REGISTER.js') diff --git a/js/Linear/REGISTER.js b/js/Linear/REGISTER.js index 78f6836d..6a27b2d1 100644 --- a/js/Linear/REGISTER.js +++ b/js/Linear/REGISTER.js @@ -26,8 +26,8 @@ function REGISTER() { return options; } REGISTER.prototype.set = function REGISTER() { - this.z0 = parseFloat((arguments[0]["z0"])) - this.it = parseFloat((arguments[0]["it"])) + this.z0 = parseFloat(arguments[0]["z0"]) + this.it = arguments[0]["it"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; -- cgit