It returns the same value as the Convert Value to Unsigned Integer 16 method

It returns the same value as the convert value to

This preview shows page 171 - 174 out of 334 pages.

4,294,967,296. It returns the same value as the Convert Value to Unsigned Integer 16 method. For more information, see “Convert Value to Unsigned Integer 16 Method” on page 170 . This method is unique to Siebel eScript. For more information, see “Make Sure the JavaScript Interpreter Can Run a Function” on page 59 . This method uses the same argument as the Convert Value to Integer 32 method. For more information, see Table 96 on page 170 . Format ToUint32( value )
Image of page 171
Siebel eScript Language Reference Version 8.1, Rev. A Methods Reference Conversion Methods 172 Usage To 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: if (isNaN( value )) . . [ error-handling statements ]; . else ToUint32( value ); Because the Convert Value to Unsigned Integer 32 method truncates rather than rounds the value it receives, it rounds numbers toward 0. For example, it rounds 12.88 to 12. Related Topics For more information, see the following topics: “NaN Numbers” on page 29 “Round Number Method” on page 195 Convert Value to Number Method The Convert Value to Number method converts the value that the value argument contains to a number. It returns a value that depends on the original data type of the value that the value argument contains. Table 95 on page 168 describes these data types. This method is unique to Siebel eScript. For more information, see “Make Sure the JavaScript Interpreter Can Run a Function” on page 59 . This method uses the same argument as the Convert Value to Integer 32 method. For more information, see Table 96 on page 170 . Format ToNumber( value )
Image of page 172
Methods Reference Conversion Methods Siebel eScript Language Reference Version 8.1, Rev. A 173 Values That the Convert Value to Number Method Returns Table 97 describes values that the Convert Value to Number method returns. Related Topics For more information, see “Round Number Method” on page 195 . Convert Value to Object Method The Convert Value to Object method converts the value that the value argument contains to an object. It returns a value that depends on the data type of the value that the value argument contains. This method is unique to Siebel eScript. For more information, see “Make Sure the JavaScript Interpreter Can Run a Function” on page 59 . This method uses the same argument as the Convert Value to Integer 32 method. For more information, see Table 96 on page 170 . Table 97. Values That the Convert Value to Number Method Returns Data Type Return Value Boolean This method returns one of the following values, depending on if the value that the value argument contains is: False. It returns the following value: +0 True. It returns the following value: 1 buffer This method returns one of the following values, depending on if the conversion is: Successful. It returns the value that the value argument contains.
Image of page 173
Image of page 174

You've reached the end of your free preview.

Want to read all 334 pages?

  • Summer '16
  • Oracle
  • Type system, Siebel, Siebel eScript

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors