Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need function to convert check amt to text
Message
From
18/04/2003 16:25:45
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00779328
Message ID:
00779343
Views:
23
Larry or anyone else,

I downloaded the file and added it to my project.

I am pretty new at this.

I have never added a class to my project before.

My question is How do I use it?
The instructions are:
Number to word conversion class with source. Upper limit 100 billion minus 1 (with room for expansion).
See method zreadme() for readme on this class. Lots of buit-in fault tolerance.

Usage:
------
x = newobject('num2words','num2words')
? x.currency_us(12343.45) && US $
? x.currency_us('12343.45')
? x.go(1223) && integer only generic conversion
? x.go('1223')

I have a form that has 2 txtboxes.
User enters amount in currency format.
I would like to use this new class to create the value for the 2nd textbox.
Does that make sense?
Perhaps the 2nd textbox goes away and is replaced by this class?
What I am asking may not make any sense because I do not understand well enough to know what to ask.

Thanks,
John
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform