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/IntegerOp/BITCLEAR.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/IntegerOp/BITCLEAR.js') diff --git a/js/IntegerOp/BITCLEAR.js b/js/IntegerOp/BITCLEAR.js index 8ac5590d..a854f731 100644 --- a/js/IntegerOp/BITCLEAR.js +++ b/js/IntegerOp/BITCLEAR.js @@ -28,8 +28,8 @@ function BITCLEAR() { return options; } BITCLEAR.prototype.set = function BITCLEAR() { - this.Datatype = parseFloat((arguments[0]["Datatype"])) - this.bit = parseFloat((arguments[0]["bit"])) + this.Datatype = arguments[0]["Datatype"] + this.bit = parseFloat(arguments[0]["bit"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; -- cgit