WD: How to Use DollarText to Convert Numbers to Cardinal Text

Last reviewed: March 9, 1998
Article ID: Q173287
The information in this article applies to:
  • Microsoft Word 98 Macintosh Edition
  • Microsoft Word 97 for Windows
  • Microsoft Word for Windows 95, versions 7.0, 7.0a
  • Microsoft Word for Windows NT, version 6.0
  • Microsoft Word for the Macintosh, versions 6.0, 6.0.1, 6.0.1a
  • Microsoft Word for Windows, versions 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a, 6.0c

SUMMARY

This article describes how to use the DollarText field switch in a Microsoft Word field code to spell out a dollar value alphabetically. By converting numeric data to cardinal text, this field switch is useful for creating a bank-style check.

For example, if you use the DollarText field switch, Word converts the number 5,245.25 to Five Thousand Two hundred Forty Five AND 25/100.

NOTE: There is a limit of six-digits that can be represented by the DollarText switch--Word can spell out the dollar amount up to $999,999.99.

MORE INFORMATION

The following are examples of how to use the DollarText field to create bank-style checks:

  • If the amount is known:

          {= 5,245.25 \*DOLLARTEXT \*upper}
    

    NOTE: To insert a field in a document, you can use either the Insert Field command or press ALT+F9 (Command+F9 on the Macintosh) to insert the special field brackets.

  • If the amount is a variable, you can use either a FILLIN or ASK field, or use a reference to an existing bookmark to enter the amount with the correct format:

          FILLIN:
    

             {Fillin "Fill in the Total Amount" \*DOLLARTEXT \*upper}
    
           -or-
    
          ASK:
    
            {Ask Total "What is the total?"}
            {REF TOTAL \*Dollartext \*upper}
    
          EXISTING BOOKMARK:
    
            {REF TOTAL \*Dollartext \*upper}, Where TOTAL is a bookmark
            representing a total field in an invoice, and so on.
    
    

REFERENCES

For more information about the maximum values for field format switches, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q97591
   TITLE     : Maximum Values for Field Format Switches

For more information about number formats, please see the appropriate reference for your version of Word.

Word 97 for Windows or Word 98 Macintosh Edition

Click the Office Assistant, type "Dollartext," (without the quotation marks), click Search, and then click to view the "General Switches" topic. Click the double arrow at the "Format (\*)" paragraph. Click the double arrow at Number Formats.

NOTE: If the Assistant is hidden, click the Office Assistant button on the Standard toolbar. If Microsoft Help is not installed on your computer, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q120802
   TITLE     : Office: How to Add/Remove a Single Office
               Program or Component

Word 6.0 for Windows or Word for Windows 95, Version 7.0

Click the Index tab in Word Help, type the following text, "Number Formats" (without the quotation marks). Double-click Number Formats. Double-click General Switches. Click the double arrow at the "Format (\*)" paragraph. Click the double arrow at Number Formats.


Additional query words: kbhowto kbref 8.0 8.00 macword98
Keywords : kbfield
Version : MACINTOSH:6.0,6.0.1,6.0.1a; WINDOWS:2.0,2.0a,2.0a- CD,2.0b,2.0c,6.0,6.0a,6.0c,7.0,7.0a,97; WINDOWS NT:6.0
Platform : MACINTOSH NT WINDOWS
Issue type : kbhowto


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 9, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.