AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Currency Converter

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
Titan



Joined: 11 Aug 2004
Posts: 5009
Location: imaginationland

PostPosted: Sun Jul 23, 2006 1:29 am    Post subject: Currency Converter Reply with quote

A small currency converter function using rates from Yahoo! Finance.

Currency(from, to [, amount, round])
from: currency code
to: currency code
amount: default = 1
round: decimal places to round off

Example: MsgBox, % "$209.15 = £" . Currency("USD", "GBP", 209.15, 2)

Download (< 1kb)
_________________

RegExReplace("irc.freenode.net/autohotkey", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2")
Back to top
View user's profile Send private message Visit poster's website
Rajat



Joined: 28 Mar 2004
Posts: 1717

PostPosted: Sun Jul 23, 2006 1:40 am    Post subject: Reply with quote

Thats really useful.. thanks!
_________________
Back to top
View user's profile Send private message
lingoist



Joined: 05 Oct 2004
Posts: 118
Location: Brasília, Brazil

PostPosted: Sat Mar 03, 2007 2:39 pm    Post subject: Reply with quote

Really useful!! Thanks Titan!!

Laughing Laughing Laughing
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group