summaryrefslogtreecommitdiff
path: root/js/IntegerOp/CONVERT.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/IntegerOp/CONVERT.js')
-rw-r--r--js/IntegerOp/CONVERT.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/IntegerOp/CONVERT.js b/js/IntegerOp/CONVERT.js
index 1e3a7ff9..911af957 100644
--- a/js/IntegerOp/CONVERT.js
+++ b/js/IntegerOp/CONVERT.js
@@ -23,6 +23,12 @@ function CONVERT() {
return this.x;
}
CONVERT.prototype.get = function CONVERT() {
+ var options = {
+ it:["Input Type (1:double, 3:int32, 4:int16, 5:int8, ...)",this.it],
+ ot:["Output Type (1:double, 3:int32, 4:int16, 5:int8, ...)",this.ot],
+ np:["Do on Overflow (0:Nothing, 1:Saturate, 2:Error)",this.np],
+ }
+ return options;
}
CONVERT.prototype.set = function CONVERT() {
this.it = parseFloat((arguments[0]["it"]))