16 Comments
- Cl1mh4224rd, on 11/29/2007, -1/+9Argh! He's using Hungarian notation in PHP. And what's worse, he's actually using "sz" to indicate a zero-terminated string, which a PHP programmer *never* has to worry about. He's also using "m_" to indicate a member variable, which is pretty damn obvious from the whole "$this->" preceding the variable name.
Why? Why??
Other than that... neat. - MrTea, on 11/29/2007, -1/+3He's probably a win32 programmer on the side.
- z0l0pht, on 11/29/2007, -0/+2Oh cool, the US dollar is worth .99 Canadian dollars
1.00...
1.01...
Oh *****. - MasterThief117, on 11/29/2007, -3/+5Speaking of currency conversion, the USD is on par with the Canadian dollar.
- spicytuna, on 11/29/2007, -0/+2Simple currency conversion until you get into the business of STORING said currency conversion rate for the time you converted. You don't want to change the value of an item ordered 10 days ago when currency rates were 0.9 and now are 1.1 do you?
- smart88, on 12/17/2007, -0/+1free video lectures on XML foundations at http://freevideolectures.com/ComputerScience/xml_f ...
- king52, on 05/08/2008, -0/+1search free pdf books http://ebooknetworking.net
- Wildhoney, on 11/29/2007, -4/+4I'm guessing that signifies that the USD is getting weaker, and not the CAD getting stronger? (Not from the US, so you'll have to excuse my ignorance on that.)
- trc0, on 11/29/2007, -1/+1meh, different strokes I guess
- percypais, on 10/25/2008, -0/+0For those looking for a more up to date solution using Google Finance is available at
http://digg.com/programming/PHP_Currency_Conversio ... - yogastore, on 06/27/2008, -0/+0http://astore.amazon.com/holmes.tower.fan-20
http://astore.amazon.com/honeywell.tower.fan-20
http://astore.amazon.com/10.cup.rice.cooker-20
http://astore.amazon.com/zojirushi.10.cup.rice.coo ...
http://astore.amazon.com/bug.zapper-20
http://astore.amazon.com/rat.zapper-20
http://astore.amazon.com/250gb.external.hard.drive ...
http://astore.amazon.com/500.gb.external.hard.driv ...
http://astore.amazon.com/surfboard.cable.modem-20
http://astore.amazon.com/wireless.cable.modem-20 - blackjack75, on 11/29/2007, -1/+1My conversion function is simple. I just divide the USD value with result the time() function. No need for fancy XML web services.
- HAL1300, on 11/29/2007, -0/+0Simple, use the class to convert at that time, save the converted amount AND the rate used. Then when you need to show the amount, note the conversion rate used.
- kjohn22066, on 11/30/2007, -2/+0Free PHP books:
http://freecomputerbooks.com/webPhpBooksIndex.html - inactive, on 11/29/2007, -4/+1I'll take some North Korean dollars.
- WickedClown, on 11/29/2007, -6/+1O'RLY?


What is Digg?
Check out the new & improved