#24 Conversion

Complete a set challenge every day like: App making, Code solving, Image designs, Web Scripts and more. Win crazy points and prizes.
Forum rules
Please only post a reply if its a challenge entry - other posts and comments will be deleted. - Guide and Rules
3 posts Page 1 of 1
Contributors
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4389
Joined: Tue Aug 04, 2009 1:47 am

#24 Conversion
CodenStuff
Welcome to challenge #24

Conversion

Your challenge for today is to create a program that can convert world currencies and measurements.

For example converting USD ($) in to GBP (£) and vice-versa and also converting Meters to Inches, there are loads of currencies and measurement types that you will need to add to your program.

It can be desktop or web based and you are allowed to use any API services you can find.

Rules for this challenge:
Must be your own work.
Must convert at least 10 different world currencies.
Must convert at least 5 different types of measurements.
If you use an API you must state which service you used when submitting your entry.


Good luck cooll;
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
User avatar
comathi
Coding God
Coding God
Posts: 1242
Joined: Fri Mar 26, 2010 1:59 pm

Re: #24 Conversion
comathi
All of my conversion values are hardcoded, but I did get them from the following sources:

Currency: Currency API
Measurements: Google

Here are the available conversions:

Currency
Australian Dollar
Canadian Dollar
Swiss Franc
Danish Krone
Euro
Pound Sterling
Hong Kong Dollar
Japanese Yen
Mexican Peso
New Zealand Dollar
Philippines Peso
Swedish Krona
Singapore Dollar
Thailand Baht
United States Dollar
South African Rand

Length
Kilometer
Meter
Centimeter
Millimeter
Mile
Yard
Foot
Inch
Nautical Mile

Mass
Metric ton
Kilogram
Gram
Milligram
Stone
Pound
Ounce

Temperature
Celsius
Fahrenheit
Kelvin

Time
Nanosecond
Microsecond
Millisecond
Second
Minute
Hour
Day
Week
Month
Year
Decade
Century

Volume
US gallon
Cubic meter
Liter
Milliliter
Centiliter
Imperial gallon
Cubic foot
Cubic inch

http://projects.comathi.com/mm/2014/conversion/
User avatar
Usman55
VIP - Site Partner
VIP - Site Partner
Posts: 2821
Joined: Thu Dec 24, 2009 7:52 pm

Re: #24 Conversion
Usman55
I made this converter with the help of Google, no APIs here. Manual coding for each conversion. Took 3 straight hours. I could have added more conversions but I have to prepare for my exams too.

Image
You do not have the required permissions to view the files attached to this post.
Image
3 posts Page 1 of 1
Return to “Mad March Daily Challenge”