Re: [PHP] Currency name before and after value

2013-04-14 Thread Matijn Woudt
>From wikipedia: "According to the European Union's Publication Office,[5] in English , Irish , Lat

[PHP] Currency name before and after value

2013-04-13 Thread Rafnews
Hi, I need to manage currency display in my program. I would like to know how can i do to detect if currency code/name should be placed before the amount/value or after. e.g. USD 1234,56 / USD -1234,56 $ 1234,56 / $ - 1234,56 1234.56 EUR / -1234.56 EUR 1234.56 EUR / -1234.56 EUR i understood

Re: [PHP] Currency Exchange Database?

2007-06-28 Thread Jochem Maas
$rates[$curID] : 0.0); } > > > Andy > > -Original Message- > From: Tom Ray [Lists] [mailto:[EMAIL PROTECTED] > Sent: Friday, June 29, 2007 02:45 > To: php-general@lists.php.net > Subject: [PHP] Currency Exchange Database? > > I have a client th

RE: [PHP] Currency Exchange Database?

2007-06-28 Thread Andy B.
:[EMAIL PROTECTED] Sent: Friday, June 29, 2007 02:45 To: php-general@lists.php.net Subject: [PHP] Currency Exchange Database? I have a client that's looking to do auto conversions of currency on their reservation payment form. No big deal, I can that part down. However, exchange rates change

Re: [PHP] Currency Exchange Database?

2007-06-28 Thread Tom Ray [Lists]
I thought about that but I'm looking to make it seem-less. I just want to get the numbers and do the conversion myself not have the third party do it. I just need an updated list on a daily/hourly basis. Paul Scott wrote: On Thu, 2007-06-28 at 20:44 -0400, Tom Ray [Lists] wrote: I have a cl

Re: [PHP] Currency Exchange Database?

2007-06-28 Thread Paul Scott
On Thu, 2007-06-28 at 20:44 -0400, Tom Ray [Lists] wrote: > I have a client that's looking to do auto conversions of currency on > their reservation payment form. No big deal, I can that part down. > However, exchange rates change on a minute to minute basis and they want > the program to autom

[PHP] Currency Exchange Database?

2007-06-28 Thread Tom Ray [Lists]
I have a client that's looking to do auto conversions of currency on their reservation payment form. No big deal, I can that part down. However, exchange rates change on a minute to minute basis and they want the program to automatically know the current rates. Is there an online database or a

Re: [PHP] Web Service Php - Currency Conversion

2005-11-27 Thread Colin Ross
also had issues with the PEAR package. > > T > > -Original Message- > From: Sylvain Gourvil [mailto:[EMAIL PROTECTED] > Sent: 28 September 2005 12:57 PM > To: php-general@lists.php.net > Subject: Re: [PHP] Web Service Php - Currency Conversion > > Jasper Bryant-Green

RE: [PHP] Web Service Php - Currency Conversion

2005-09-28 Thread Thomas
12:57 PM To: php-general@lists.php.net Subject: Re: [PHP] Web Service Php - Currency Conversion Jasper Bryant-Greene wrote: > Sylvain Gourvil wrote: > >> I am looking of a webservice whiwh could permit to convert euro price >> in dollar and uk pounds on my php webs

Re: [PHP] Web Service Php - Currency Conversion

2005-09-28 Thread Sylvain Gourvil
Jasper Bryant-Greene wrote: Sylvain Gourvil wrote: I am looking of a webservice whiwh could permit to convert euro price in dollar and uk pounds on my php website ! http://pear.php.net/package/Services_ExchangeRates Thanks for that but there is a bug in installation. It seems to be great

Re: [PHP] Web Service Php - Currency Conversion

2005-09-28 Thread Jasper Bryant-Greene
Sylvain Gourvil wrote: I am looking of a webservice whiwh could permit to convert euro price in dollar and uk pounds on my php website ! http://pear.php.net/package/Services_ExchangeRates -- Jasper Bryant-Greene Freelance web developer http://jasper.bryant-greene.name/ -- PHP General Mailing

[PHP] Web Service Php - Currency Conversion

2005-09-28 Thread Sylvain Gourvil
Hi all, I am looking of a webservice whiwh could permit to convert euro price in dollar and uk pounds on my php website ! Does somene know one ? Thanks a lot -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] currency class?

2005-08-08 Thread Nathan Tobik
er to just use the Java class Nate Tobik (412)661-5700 x206 VigilantMinds -Original Message- From: Jon Hill [mailto:[EMAIL PROTECTED] Sent: Monday, August 08, 2005 11:22 AM To: php-general@lists.php.net Subject: [PHP] currency class? Hi Does anyone know of a simple PHP Currency Class

[PHP] currency class?

2005-08-08 Thread Jon Hill
Hi Does anyone know of a simple PHP Currency Class that is similar to the one in Java (java.util.currency)? I just need something that will provide methods such as getSymbol() and getDefaultFractionDigits() regards Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Currency stored as cents

2005-07-03 Thread Marco Tabini
On 7/3/05 1:33 AM, "Tom Rogers" <[EMAIL PROTECTED]> wrote: > function dollars2cents($value){ > $value = sprintf("%0.2f",trim($value)); > list($a,$b) = explode('.',$value); > if(floatval($value)<0) $b = $b*-1; //negative amount? > return intval($a)*100 + intval($b); > } Have you tried

Re: [PHP] Currency stored as cents

2005-07-02 Thread Tom Rogers
Hi, Saturday, July 2, 2005, 6:57:07 PM, you wrote: S> The lack of a specific type to store monetary values is something of a S> problem with commercial applications. Be it that you have value added tax S> or sales tax to add per-item to an invoice or any other calculation like S> commissions, dis

[PHP] Currency stored as cents

2005-07-02 Thread Satyam
The lack of a specific type to store monetary values is something of a problem with commercial applications. Be it that you have value added tax or sales tax to add per-item to an invoice or any other calculation like commissions, discounts and such, you end up with an endless number of insign

Re: [PHP] currency

2004-10-22 Thread Matt M.
> > What is the best way to output 38884 as $38,884.00? > > > > > > number_format() or http://us2.php.net/money_format -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] currency

2004-10-22 Thread John Nichel
Perry, Matthew (Fire Marshal's Office) wrote: What is the best way to output 38884 as $38,884.00? Use the manual Luke... http://us4.php.net/number_format -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] currency

2004-10-22 Thread Marek Kilimajer
Perry, Matthew (Fire Marshal's Office) wrote: What is the best way to output 38884 as $38,884.00? number_format() -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] currency

2004-10-22 Thread Perry, Matthew (Fire Marshal's Office)
What is the best way to output 38884 as $38,884.00?

Re: [PHP] Currency Exchange and Weather

2002-09-05 Thread electroteque
oanda www.oanda.com had a service where you could socket into it , that is now not free but they still have a free email service which i parse the information out of the email and add it to a currency table in the database which is run via a daily cron job "Justin French" <[EMAIL PROTECTED]> wrot

Re: [PHP] Currency Exchange and Weather

2002-09-04 Thread Justin French
This appears to do what you want... or at least provide some inspiration: http://www.phpclasses.org/browse.html/file/1220.html I'm sure there are hundreds of web services based on currency conversion and weather... usually they send XML data which you parse... google will help :) Justin French

[PHP] Currency Exchange and Weather

2002-09-04 Thread César Aracena
Hi all. I need to find FREE world wide weather reports and also a FREE currency converter from US Dollars to other currencies that can serve PHP requests 24 hours a day, so I can customize the look and feel of these results in my site(s). Does anyone knows where to get all this? Has anyone out t

Re: [PHP] currency rounding issues

2002-06-05 Thread Miguel Cruz
On Thu, 6 Jun 2002, Paul Berg wrote: > I am putting together an app that involves the adding together of rounded > numbers and displaying in a currency format. > The round() function is causing errors of 1 cent to appear after addition. > Does anyone know of any routines that might assist? It wou

[PHP] currency rounding issues

2002-06-05 Thread Paul Berg
Hi, I am putting together an app that involves the adding together of rounded numbers and displaying in a currency format. The round() function is causing errors of 1 cent to appear after addition. Does anyone know of any routines that might assist? Thanks in advance... Paul -- PHP General M

Re: [PHP] Currency help

2001-08-07 Thread Renze Munnik
On Tue, Aug 07, 2001 at 11:30:18AM +0200, Mitja Simèiè wrote: > Hello, > > My problem is how to find simple way to change REAL number > from MySQL to currency type with PHP. > > Exmaple: > MySQL: 12323434,34 > I need to parse it as: 12.323.434,34 > > tnx, > mitja. One simple function number_f

[PHP] Currency help

2001-08-07 Thread Mitja Simèiè
Hello, My problem is how to find simple way to change REAL number from MySQL to currency type with PHP. Exmaple: MySQL: 12323434,34 I need to parse it as: 12.323.434,34 tnx, mitja. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Re: [PHP] currency conversion

2001-02-15 Thread Adrian Murphy
How legal is this? can u use it on a website? free? - Original Message - From: Robin Vickery <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 15, 2001 10:46 AM Subject: Re: [PHP] currency conversion > >>>>> "c" == christian

Re: [PHP] currency conversion

2001-02-15 Thread Robin Vickery
> "c" == christian <[EMAIL PROTECTED]> writes: > does anyone know of a way to currency conversions with php? i want > to grab the current currency from some kind of web site and then > convert money to different currency value I'm sure plenty of people have done this properly, but here's

[PHP] currency conversion

2001-02-14 Thread christian
does anyone know of a way to currency conversions with php? i want to grab the current currency from some kind of web site and then convert money to different currency value any help is greatly appreciated many thanks in advance christian -- PHP General Mailing List (http://www.php.net/) To

[PHP] currency converter class

2001-02-14 Thread Adrian Murphy
anyone point me in the direction of a good currency converter class written in php. a euro converter will do! thanx. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators,