On 5/3/07, Daniel Brown <parasane@xxxxxxxxx> wrote:
Sie nicht auch sprechen Spanischen, Tij?
Nein, aber mein deutsch ist also nicht gut ;) Sprechen sie Spanischen Daniel?\ Tijnema
On 5/3/07, Tijnema ! <tijnema@xxxxxxxxx> wrote: > > On 5/2/07, Anton Krall <akrall-lists@xxxxxxxxxxxxxxx > wrote: > > Guys.. I have a problem and I was wondering if somebody with good php > > knowledge could help. > > > > I have this excel macro that converts number currency (mexican) into a > > string and I was wondering if somebody could help translating it to php... > > > > Her eis the macro, if you could help, I would really appreciate it. > > > > Thanks guys! > > I think that starting over is better then trying to convert this excel > macro. What exactly do you want to convert, from ?? to ?? > Since all functions are in a language that isn't english, dutch, > german or frisian, I can't understand. > > > <snip> > > laUnidades = Array("UN", "DOS", "TRES", "CUATRO", "CINCO", "SEIS", "SIETE", > > "OCHO", "NUEVE", "DIEZ", "ONCE", "DOCE", "TRECE", "CATORCE", "QUINCE", > > "DIESISEIS", "DIESISIETE", "DIESIOCHO", "DIESINUEVE", "VEINTE", "VEINTIUN", > > "VEINTIDOS", "VEINTITRES", "VEINTICUATRO", "VEINTICINCO", "VEINTISEIS", > > "VEINTISIETE", "VEINTIOCHO", "VEINTINUEVE") > > laDecenas = Array("DIEZ", "VEINTE", "TREINTA", "CUARENTA", "CINCUENTA", > > "SESENTA", "SETENTA", "OCHENTA", "NOVENTA") > > laCentenas = Array("CIENTO", "DOSCIENTOS", "TRESCIENTOS", "CUATROCIENTOS", > > "QUINIENTOS", "SEISCIENTOS", "SETECIENTOS", "OCHOCIENTOS", "NOVECIENTOS") > Nice array, if you need it, you can use it directly in PHP, just add a > $ sign before the variable and ; at the end, and it is a PHP array :) > <snip> > > I've snipped the rest of your code, because it's very though to > understand the code if you can't read the language. Like i said, show > me what you want to convert from and to, so that i can help you > writing something new, or comment your own macro in english so that > people can understand it. > > Tijnema > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php