Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Formats the supplied integer using the specified numerical system.
Syntax
strValue = oXTLRuntime.formatIndex(lIndex, bstrFormat)
Parameters
- lIndex
- Long integer. Integer value that is to be converted.
- bstrFormat
- String. Specified numbering system. The following formats are supported:
- 1
- Standard numbering system
- 01
- Standard numbering with leading zeroes
- A
- Uppercase sequence "A"-"Z", "AA"-"ZZ"
- a
- Lowercase sequence "a"-"z", "aa"-"zz"
- I
- Uppercase Roman numerals: "I", "II", "III", "IV", ...
- i
- Lowercase Roman numerals: "i", "ii", "iii", "iv", ...
Returns
String. Returns the integer value formatted using the specified numbering system.
Applies To
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.