Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > Methods Reference > Conversion Methods > Convert Value to Unsigned Integer 16 MethodThe Convert Value to Unsigned Integer 16 method converts the value that the value argument contains to an integer in the range of 0 through 216 minus 1. The nonexponential value is 0 through 65,535. It returns a value depending on which of the following values the value argument contains:
This method is unique to Siebel eScript. For more information, see Make Sure the JavaScript Interpreter Can Run a Function. This method uses the same argument as the Convert Value to Integer 32 method. For more information, see Table 95. FormatUsageTo avoid an error, you must first pass the value argument to the Is NaN method or to the Convert Value to Number method. To use the Convert Value to Number method, you can include a statement that uses the following format:
The Convert Value to Unsigned Integer 16 method truncates rather than rounds the value it receives, so it rounds numbers toward 0. For example, it rounds 12.88 to 12. Related Topics |
Siebel eScript Language Reference | Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |