NumToText_POR
Rate this function: Average rating: 3.9 (7 votes) Discuss this Custom Function
Ibrahim Bittar Torres, Eikonsys
http://www.eikonsys.com
Converts an amount from number to text in Portuguese
Sample Input:
| NumToText_Por (123.45, "Euros" , "a pagar" ) |
|
Sample Output:
| cento vinte e três Euros 45/100 a pagar. |
|
Description:
This function can be used to express amounts in text for invoices or any other administrative document.
Note: these functions are not guaranteed
or supported by BrianDunning.com. Please contact the individual
developer with any questions or problems.
This is my Custom Function and I want to
edit it
Discuss:5 most recent comments | Show all 10 comments Make a comment about this Custom Function (please try to keep it brief & to the point). Anyone can post:
|
Newest Custom Functions:
| 1. |
CountWordOccurrences ( text ; searchWord ) |
| |
(Tue, Feb 07, 11:15am) |
| 2. |
indonesian_date(date) |
| |
(Mon, Feb 06, 7:14pm) |
| 3. |
phpArrayValue ( array ; key ; pos ) |
| |
(Fri, Jan 27, 1:49pm) |
| 4. |
solfm_timeToMinutes (theTime;roundSec) |
| |
(Fri, Jan 20, 6:26am) |
| 5. |
filterLines(filterField;filterValue;Result) |
| |
(Sat, Jan 14, 2:20pm) |
| 6. |
getMaxValue ( theList ) |
| |
(Thu, Jan 12, 1:06pm) |
| 7. |
MiddleWordsIncPunct ( text ; startingWord ; numberOfWords ) |
| |
(Sat, Jan 07, 9:16am) |
| 8. |
WindowInfo |
| |
(Fri, Jan 06, 12:39pm) |
 |
|
Hi Panos
Yes, both mean "hundred". This is because in spanish and portuguese the number 100 is named "cien" or "cen" in portuguese and any other number but 100 is named "ciento" or "cento" in portuguese.
For example: 123 is named "ciento veintitres" and in portuguese is named "cento e vinte e três".
In spanish, for the 20's there is a contraction and instead of naming 23 as veinte y tres is named veintitres.
Please send me your finished calculation. I'm working in a multi language version of my ERP and though greek was not one of my first choices after spanish is always good to have some of the hard work already solved.
Regards.
Ibrahim Bittar Torres, León, México.
April 07, 2010 9:21am