Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Exchange Rates

 
Guy Allard
Ranch Hand
Posts: 776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Today I was trying to show someone a little about several different languages.

Looking for examples, I ran across this PERL, which I thought was hilarious.

 
Arjun Shastry
Ranch Hand
Posts: 1903
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it hilarious just because $exRate name? I have PHP installed and this works fine.
50 American dollars is equivalent to 67.5 Canadian dollars.
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24215
37
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Arjun Shastry:
Is it hilarious just because $exRate name? I have PHP installed and this works fine.
50 American dollars is equivalent to 67.5 Canadian dollars.


It's hilarious because right now 50 American dollars is equivalent to 49.50 Canadian!
 
Pat Farrell
Rancher
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ernest Friedman-Hill:


It's hilarious because right now 50 American dollars is equivalent to 49.50 Canadian!


Canada is a major oil exporting country to the US. It might be $50 US to $C30 soon.
 
These are not the droids you are looking for. Perhaps I can interest you in a tiny ad?
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!