General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only