ConvertToWords
Hello
I'm trying to convert numbers to string text, but having some difficulty doing it.
Found this string below on the web, sometimes it works, but most times it doesn't
I.e. - $10,000 change to --- Ten Thousand Dollars and Zero Cents
I have a very simple pdf file, with 2 fields, 1st is the numeric value and 2nd is the text field
event.value = ConvertToWords(this.getField("Number").value);
or ive used
var f = this.getField("Number");event.value = ConvertToWords(f.value);
Any idea why its not reliable???
Tony
