Inserting Characters In Number Formats

To insert a character in a number in the output string, you enclose the character in double quotes in the format argument. You can also insert a set of characters. Siebel VB inserts the following characters in the output string in a location that matches the position in the format argument:

-  + $ ( space 

You can precede the character with a backslash (\) to insert a single character.

The following table includes examples of using double quotes and backslahes to insert characters.

Number Format Result

1234567.89

$#,0.00

$1,234,567.89

1234567.89

"TOTAL:" $#,#.00

TOTAL: $1,234,567.89

1234

\ = \>#,#\<\ =

= >1,234< =

You can use the Get ANSI String method to insert a quotation mark (") in a format argument. The character code for a quotation mark is 34. For more information, see Get ANSI String Method.