|
Siebel VB Language Reference > Using Siebel VB > About Data Types >
Numeric Data Types That Siebel VB Uses
Table 4 describes the numeric data types that Siebel VB uses.
Table 4. Numeric Data Types That Siebel VB Uses
|
|
|
|
Integer |
2 byte integer |
Negative 32,768. |
Positive 32,767. |
Long |
4 byte integer |
Negative 2,147,483,648. |
Positive 2,147,483,647. |
Single-Precision |
4 byte floating-point number |
Negative 3.402823e+38 0.0, 1.401298e-45. |
Negative 1.401298e-45, 3.402823466e+38. |
Double-Precision |
8 byte floating-point number |
Negative 1.797693134862315d+308, 0.0, 2.2250738585072014d-308. |
Negative 4.94065645841247d-308, 1.797693134862315d+308. |
Currency |
8 byte number with a fixed decimal point |
Negative 922,337,203,685,477.5808. |
Positive 922,337,203,685,477.5807. |
A numeric value is always signed. You can express an integer constant in the following ways:
- Decimal. To express a decimal constant, you use the decimal representation.
- Octal. To express an octal value, you precede the constant with &O or &o. For example, &o177.
- Hexadecimal. To express a hexadecimal value, you precede the constant with &H or &h. For example, &H8001.
For more information, see Boolean Data Type.
|