There is a ToWords() function in the Strings function folder of the Formula Editor. You can also look up the function in the help menu to get more specifics on the use of this function. But this should give you the output you are seeking.
There is a funciton called ToWords that deos this for you.
Code:
Prpoercase(ToWords(11522339)) & " Dollars"
returns
"Eleven Million Five Hundred Twenty Two Thousand Three Hundred Thirty Nine Dollars"
Keep in mind, if you are not using Version 9 or 10, the propercase function will not be available. If that is the case, you will only have the first word in the sentence converted to have a upercase first letter. Also, there will be no commas throughout the returned words. A more creative solution would have to be thought up for that.
If you put the "towords(value)" in one formula field, say called @wordvalue, you can then use it as input for a Replace(@wordvalue, "Million", "MILLION") etc. You can also nest the commands, as lbass showed
What do you mean "All Caps"? My formula (let's call it {@caps} would give you:
Eleven Million Five Hundred Twenty-two Thousand, Three Hundred Thirty-nine Dollars.
Hyphenated words, as are twenty-two and thirty-nine, technically should not have caps for the word after the hyphen. If you really want the commas, then you could do something like:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.