summaryrefslogtreecommitdiff
path: root/js/Sources/STEP.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/Sources/STEP.js
parent200c4cfb3bd50c0b05fdf5b58c6e3671853cc5ad (diff)
downloadsci2js-5a28e41a3105338f747b8a30f67000920490c67d.tar.gz
sci2js-5a28e41a3105338f747b8a30f67000920490c67d.tar.bz2
sci2js-5a28e41a3105338f747b8a30f67000920490c67d.zip
make string as the default type
Diffstat (limited to 'js/Sources/STEP.js')
-rw-r--r--js/Sources/STEP.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/Sources/STEP.js b/js/Sources/STEP.js
index 42b032fa..1d5fbe8a 100644
--- a/js/Sources/STEP.js
+++ b/js/Sources/STEP.js
@@ -30,9 +30,9 @@ function STEP() {
return options;
}
STEP.prototype.set = function STEP() {
- this.temps = parseFloat((arguments[0]["temps"]))
- this.in1 = parseFloat((arguments[0]["in1"]))
- this.fi = parseFloat((arguments[0]["fi"]))
+ this.temps = arguments[0]["temps"]
+ this.in1 = arguments[0]["in1"]
+ this.fi = arguments[0]["fi"]
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;