diff options
author | Sunil Shetye | 2018-07-06 10:38:38 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-09 12:16:25 +0530 |
commit | 5a28e41a3105338f747b8a30f67000920490c67d (patch) | |
tree | e55c568d243ea8e0ec539f0df20cefbc3e42f3ef /js/Electrical/NMOS.js | |
parent | 200c4cfb3bd50c0b05fdf5b58c6e3671853cc5ad (diff) | |
download | sci2js-5a28e41a3105338f747b8a30f67000920490c67d.tar.gz sci2js-5a28e41a3105338f747b8a30f67000920490c67d.tar.bz2 sci2js-5a28e41a3105338f747b8a30f67000920490c67d.zip |
make string as the default type
Diffstat (limited to 'js/Electrical/NMOS.js')
-rw-r--r-- | js/Electrical/NMOS.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/js/Electrical/NMOS.js b/js/Electrical/NMOS.js index 9d8acf42..06efb39c 100644 --- a/js/Electrical/NMOS.js +++ b/js/Electrical/NMOS.js @@ -47,15 +47,15 @@ function NMOS() { return options; } NMOS.prototype.set = function NMOS() { - this.W = parseFloat((arguments[0]["W"])) - this.L = parseFloat((arguments[0]["L"])) - this.Beta = parseFloat((arguments[0]["Beta"])) - this.Vt = parseFloat((arguments[0]["Vt"])) - this.K2 = parseFloat((arguments[0]["K2"])) - this.K5 = parseFloat((arguments[0]["K5"])) - this.dW = parseFloat((arguments[0]["dW"])) - this.dL = parseFloat((arguments[0]["dL"])) - this.RDS = parseFloat((arguments[0]["RDS"])) + this.W = parseFloat(arguments[0]["W"]) + this.L = parseFloat(arguments[0]["L"]) + this.Beta = parseFloat(arguments[0]["Beta"]) + this.Vt = parseFloat(arguments[0]["Vt"]) + this.K2 = parseFloat(arguments[0]["K2"]) + this.K5 = parseFloat(arguments[0]["K5"]) + this.dW = parseFloat(arguments[0]["dW"]) + this.dL = parseFloat(arguments[0]["dL"]) + this.RDS = parseFloat(arguments[0]["RDS"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; |