|Bookshelf Home | Contents | Index | PDF|
The Convert Value to Integer 32 method converts the value that the value argument contains to an integer in the range of negative 231 through 231 minus 1. The equivalent nonexponential range is negative 2,147,483,648 through 2,147,483,647. It returns a value depending on which of the following values the value argument contains:
Table 96 describes the arguments for the Convert Value to Integer 32 method.
To avoid an error, you must first pass the value that the value argument contains to the Is NaN method or to the Convert Value to Number method. To use the Is NaN method, you include a statement that uses the following format:
Because the Convert Value to Integer 32 method truncates rather than rounds the value it receives, it rounds numbers toward 0. For example, it rounds negative 12.88 to negative 12. It rounds 12.88 to 12.
|Siebel eScript Language Reference||Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices.|