summaryrefslogtreecommitdiff
path: root/js/IntegerOp/CONVERT.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-06 10:38:38 +0530
committerSunil Shetye2018-07-09 12:16:25 +0530
commit5a28e41a3105338f747b8a30f67000920490c67d (patch)
treee55c568d243ea8e0ec539f0df20cefbc3e42f3ef /js/IntegerOp/CONVERT.js
parent200c4cfb3bd50c0b05fdf5b58c6e3671853cc5ad (diff)
downloadsci2js-5a28e41a3105338f747b8a30f67000920490c67d.tar.gz
sci2js-5a28e41a3105338f747b8a30f67000920490c67d.tar.bz2
sci2js-5a28e41a3105338f747b8a30f67000920490c67d.zip
make string as the default type
Diffstat (limited to 'js/IntegerOp/CONVERT.js')
-rw-r--r--js/IntegerOp/CONVERT.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/IntegerOp/CONVERT.js b/js/IntegerOp/CONVERT.js
index 911af957..22a27d4d 100644
--- a/js/IntegerOp/CONVERT.js
+++ b/js/IntegerOp/CONVERT.js
@@ -31,9 +31,9 @@ function CONVERT() {
return options;
}
CONVERT.prototype.set = function CONVERT() {
- this.it = parseFloat((arguments[0]["it"]))
- this.ot = parseFloat((arguments[0]["ot"]))
- this.np = parseFloat((arguments[0]["np"]))
+ this.it = parseFloat(arguments[0]["it"])
+ this.ot = parseFloat(arguments[0]["ot"])
+ this.np = arguments[0]["np"]
this.x = arg1;
graphics = arg1.graphics;
model = arg1.model;