#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
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
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;
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.
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/
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/
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.


You do not have the required permissions to view the files attached to this post.
3 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023