Hack Forums
[.NET] Source - Currency Exchange Calculator - Calculate the difference in percent. - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] Source - Currency Exchange Calculator - Calculate the difference in percent. (/showthread.php?tid=2911348)



Source - Currency Exchange Calculator - Calculate the difference in percent. - SomeWhiteGuy - Oct 2, 2012

I was bored and I do a lot of currency exchanges so I thought I would make this right quick.

It only works for LR and PP atm but these are the most exchanged currencies.

Gif:
[img]http://www.coding-forums.com/hf/imgs/CurrencyCalc.gif[/img]

DL (Source): http://www.coding-forums.com/hf/sources/download.php?id=2
DL (Actual file): http://www.coding-forums.com/hf/sources/download.php?id=3

Thanks for your interest.


* - bad - Oct 2, 2012

Ha ha what a nice program you have made. Will prove too useful for many exchangers but can you add more currencies in it :)


* - SomeWhiteGuy - Oct 2, 2012

(Oct 2, 2012 03:07 PM)мr. X Wrote:  Ha ha what a nice program you have made. Will prove too useful for many exchangers but can you add more currencies in it :)

Thanks. I don't exchange any other currencies so I wouldn't know what I should go by. :|

I will definitely though.


* - sunbinyuan - Oct 2, 2012

x = (1 - str1 / str2) * 100
Am I right?


* - SomeWhiteGuy - Oct 2, 2012

(Oct 2, 2012 03:48 PM)sunbinyuan Wrote:  x = (1 - str1 / str2) 100
Am I right?

No.

x = 100 - (y / z
100)

Close though. :)


* - Percocet - Oct 2, 2012

Not bad. A lot of people in the exchanging center could use this.