Support 805.461.7300
Sales
Our Technology. Your Success.

Convert number 1234 to One Thousand Two Hundred Thirty Four

The following command will convert ANY numeric value to its English equivalent. For instance, if you have a field that contains the number 773, this command will fill into a different field: Seven Hundred Seventy Three Dollars And No Cents or Seven Hundred Seventy Three (more on that option at the end of the instructions).

In order for this command to work, the number field in your database must be a numeric type field (pull down the Edit menu to Fields to check on this).

1. Download and unzip the attached program to the root level of the AccuZIP6 5.0 folder.
2. Open AccuZIP6 5.0 and a Database that contains the numeric value to convert.
3. From the Edit menu, choose Fields.
4. Create a Character Field that will hold the English words for the number, such as “EnglishVal” and make it 254 characters.
5. Save the changes and pull down the Edit menu to Command…
6. Give your command a new name, e.g., Convert Currency to English
7. Type the following command syntax into the large box.

REPLACE ALL EnglishVal with ConvertCurrencyToEnglish(NumericFieldName)

Note: NumericFieldName is the name of the NUMERIC Type Field that contains the number, e.g., 1234.56. The field must be Numeric type.

8. Click Run

If you want to remove the words Dollars And No Cents from the field, then run this command instead:

REPLACE ALL EnglishVal with ConvertCurrencyToEnglish(NumericFieldName)
Replace All EnglishVal With STRTRAN(EnglishVal,"Dollars And No Cents","")

« Back to Commands

I am especially motivated to take time to draw attention to Vince. In two instances, we potentially faced loss of product – significant loss, but thanks to everyone’s efforts, most notably Vince’s, we ended up with minor re-work and zero loss of stock. He’s patient and thorough, knowledgeable and resourceful. And he’s patient – A Big Plus when dealing with me. Long story short, the guy was able to not only produce a solution, but to prove to me the veracity of it. I hung up the phone saving thousands of dollars in catalog stock, not lost but salvaged, and my department had to spend just a wee bit of time on job re-work (which I was happy to do, all things considered). But I also hung up with a peculiar urge to write about Vince, incongruent as that may be since I rarely am moved to write letters of this sort. So… In a time of crisis, Vince was a terrific asset and ally. If I were his boss, I’d attempt a merit raise authorization, he was that exceptional.
H.D., Shawnee Mission, KS