Title: A unit converter
Description: Anyone can do it....
StarReaver2 - June 24, 2003 11:01 PM (GMT)
It's going to be console, and i'll have to look up some information. The easy ones will be from inches to foot, but the harder ones will be foot to meter....So look out in the works in progress soon.
RealDesertFox - June 24, 2003 11:14 PM (GMT)
| QUOTE (StarReaver2 @ Jun 25 2003, 01:01 AM) |
| It's going to be console, and i'll have to look up some information. The easy ones will be from inches to foot, but the harder ones will be foot to meter....So look out in the works in progress soon. |
Foot to metre:
1 ft (roughly)= 30.5cm
So...
1 ft (roughly)= 0.305m
StarReaver2 - June 24, 2003 11:16 PM (GMT)
By "harder" i mean i have to do research
RealDesertFox - June 24, 2003 11:18 PM (GMT)
What other units will be included in the converter?
StarReaver2 - June 24, 2003 11:23 PM (GMT)
Well, I was going to do volume, length, mass(metric), weight, and if you can tell me the ones i'm missing, them too.
RealDesertFox - June 24, 2003 11:24 PM (GMT)
How about power, area and fuel consumption?
StarReaver2 - June 24, 2003 11:25 PM (GMT)
All i know for power is Watts, i'll do area, and what's fuel consumption?
RealDesertFox - June 24, 2003 11:27 PM (GMT)
| QUOTE (StarReaver2 @ Jun 25 2003, 01:25 AM) |
| All i know for power is Watts, i'll do area, and what's fuel consumption? |
Fuel consumption is (for us British anyway) miles per galon (mpg), like:
mpg = 282 / (litres/100km)
StarReaver2 - June 24, 2003 11:28 PM (GMT)
Oh i get it. KK, give me all the units you can give me for Power and Fuel Consumption.
RealDesertFox - June 24, 2003 11:31 PM (GMT)
Well for fuel consumption there is the above and:
litres/100km = 282/mpg (reverse of above)
Power I have here:
1 hp = 0.746 kW
and
1kw = 1.34 hp
If you can understand that then fine, as I can't. Power is the only one I don't know very well. Ive even forgotten what hp means... :blink:
Also do you want temperature conversion?
StarReaver2 - June 24, 2003 11:34 PM (GMT)
HP is horsepower. I forgot about horsepower :P
EDIT: Well, there's going to be a lot of case statements in this :P
StarReaver2 - June 24, 2003 11:50 PM (GMT)
Perfect! I found units in my folder from last year!
StarReaver2 - June 25, 2003 02:16 AM (GMT)
A demo of the unit converter. It will convert inches->anything, feet->anything, and yards->anything. It's not that efficient though :P
Dark_Sonic - June 25, 2003 07:46 AM (GMT)
Umm... Eroor 404, Page not found... Is that link correctly typed?
Dark_Sonic - June 25, 2003 10:57 AM (GMT)
Oh! Have you added Celsius, Kelvin and Fahrenheit? I could use a converter like that! B)
StarReaver2 - June 25, 2003 08:45 PM (GMT)
Well i have all the conversion units in a folder, and last night when i was gettin to bed, i was thinking of adding temperature. I'll tell you when it's done! Did u right click-> save target as, and you have it on your comp?
Dark_Sonic - June 26, 2003 04:55 PM (GMT)
Yep! It does what it promises, but it would be easier and faster to use if it was a win32 program... :)
Dark_Sonic - June 26, 2003 07:30 AM (GMT)
Well now it works when I right click and save target as... Yesterday when I tried the only thing I could download was "404 html page"... :huh:
Dragon - June 26, 2003 04:18 PM (GMT)
It's not bad, but it would be a lot better if you use a win32 application instead of a console.
Dragon - June 26, 2003 05:20 PM (GMT)
It's easier in terms of usage, but unless you know how to create win32 applications, it's not going to be easy creating one.
StarReaver2 - June 26, 2003 09:03 PM (GMT)
Well....I dont know how to do Win32 apps yet. Still on console:P first i need to learn classes :P
Dixon - August 28, 2003 10:13 PM (GMT)
I am also making a converter :lol: I made one in Java Script once and it might be of some help to you. Here is the link
Java Script converterMy current one that I am working on will also be a console (I don't know how to do Win32 yet either :( ) But it is fun making something original what I mean by original is that it's not some little Hello World example that I learned from my Ebook but something that I am coming up with by my self (okay well I take little math programs from the Ebook and modify them in to converters but it is fun to spend an hour on something that you now is easy and then finally figure it out)
Dixon - August 29, 2003 02:04 AM (GMT)
I realized that all the posts here are REAL old ;) But I figure that a lot of people want to make a converter so my website is still good right?
Monkster - September 7, 2003 12:39 AM (GMT)
yeah, u should add temperature too...Kelvin is easy, just add 173.15 to tge Celsuis!