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

Re: [PHP] Currency Exchange Database?

2007-06-28 Thread Jochem Maas
Andy B. wrote: > You could have a look at the Euro foreign exchange reference rates rom the > European Central Bank. > > They also provide a regularly updated XML file: > > http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html > /* pass this func a 3 letter currency code */ fu

RE: [PHP] Currency Exchange Database?

2007-06-28 Thread Andy B.
You could have a look at the Euro foreign exchange reference rates rom the European Central Bank. They also provide a regularly updated XML file: http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html Hope it helps... Andy -Original Message- From: Tom Ray [Lists] [mailto:[

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

RE: [PHP] currency class?

2005-08-08 Thread Nathan Tobik
Have you ever considered using the Java class within PHP using something like the PHP-Java bridge? Here is a link for the bridge, PHP can call the Java objects natively. It's pretty cool. http://php-java-bridge.sourceforge.net/ I would use the bridge in a few situations: 1. The Java c

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

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

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

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

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

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