Titan
Joined: 11 Aug 2004 Posts: 5009 Location: imaginationland
|
Posted: Sun Jul 23, 2006 1:29 am Post subject: Currency Converter |
|
|
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") |
|