Jump to content

CURRENCY CONVERTER MODULE


carlosnorvik
 Share

This topic is 2376 days old. Please don't post here. Open a new topic instead.

Recommended Posts

HI;

 

I created this module for currency conversion, variable "pair" = currencies in ISO format (example $ to Taiwan Dollar = "USDTWD"

String url ="http://download.finance.yahoo.com/d/quotes.csv?s="+pair+"%3DX&f=l1n";
return new URL(url).getText().trim();

 

Returned result = 32.8200,"USD/TWD"

Feel free to use it!

 

Merry Christmas!

 

Edited by carlosnorvik
Link to comment
Share on other sites

This topic is 2376 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.