Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > Methods Reference for Siebel VB > Mathematical Methods > Get Integer MethodThe Get Integer method returns the integer part of a number:
FormatThis method uses the same arguments as the Get Absolute Value method. For more information, see Get Absolute Value Method. Similarities Between the Get Integer Method and the Get Rounded Integer MethodThe Get Integer method performs the same work as the Get Rounded Integer method except it handles negative numbers differently. For example: For more information, see Get Rounded Integer Method. How The Get Integer Method Handles Variant TypesThe return type matches the type of the numeric expression. This includes a variant expression that returns the same variant type as the input value except for the following items:
For more information, see Variants. ExampleThe following example uses the Get Integer method to create random numbers in the range of ASCII values for lowercase a through z. This ASCII range is 97 through 122. It converts the values to letters and displays them as a string: Sub Button_Click |
Siebel VB Language Reference | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |