Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > Methods Reference for Siebel VB > Mathematical Methods > Get Octal MethodThe Get Octal method converts a number to an octal (base 8) number. It returns the octal representation of a number as a string. The following data type of the integer determines the octal digits that the string can contain:
To represent an octal number, you precede the octal value with the following code: For example, the following code equals decimal 8 in octal notation: FormatFor information about the dollar sign, see Usage of the Dollar Sign. This method uses the same arguments as the Get Absolute Value method. For more information, see Get Absolute Value Method. ExampleThe following example prints the octal values for the numbers 1 through 15: Sub Button_Click |
Siebel VB Language Reference | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |