summaryrefslogtreecommitdiff
path: root/js/IntegerOp/EXTRACTBITS.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/EXTRACTBITS.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/EXTRACTBITS.js')
-rw-r--r--js/IntegerOp/EXTRACTBITS.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/IntegerOp/EXTRACTBITS.js b/js/IntegerOp/EXTRACTBITS.js
index 737e5acb..34680bbe 100644
--- a/js/IntegerOp/EXTRACTBITS.js
+++ b/js/IntegerOp/EXTRACTBITS.js
@@ -31,10 +31,10 @@ function EXTRACTBITS() {
return options;
}
EXTRACTBITS.prototype.set = function EXTRACTBITS() {
- this.Datatype = parseFloat((arguments[0]["Datatype"]))
- this.rule = parseFloat((arguments[0]["rule"]))
- this.bit = parseFloat((arguments[0]["bit"]))
- this.scal = parseFloat((arguments[0]["scal"]))
+ this.Datatype = arguments[0]["Datatype"]
+ this.rule = parseFloat(arguments[0]["rule"])
+ this.bit = parseFloat(arguments[0]["bit"])
+ this.scal = arguments[0]["scal"]
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;