|
-
Dec 27th, 2013, 04:02 AM
#2
New Member
Re: convert numbers to words (SPANISH)
It converts numbers up to 999, just integers...
If you intend to use it to convert currency, you should do a calling function:
1) group the integer part in groups of three digits and call the function each time, adding at the end "euro"/"euros", "mil", "millón", "billón" as needed
2) call the function with the fractional part, rounding to 2 digits
Add the parameter "strCurrency" to the ConvertToWords function, so you can use Euros, Cents, Pounds, Dollars or whatever
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|