Find Jobs
Hire Freelancers

C# Function/Class for Unit Conversion

$30-100 USD

In Progress
Posted over 18 years ago

$30-100 USD

Paid on delivery
I need a simple/elegant function that will convert a real number from one type of units to another. For example from feet to inches or from KiloWatts to HorsePower. I envision the function and call will look something like: double Convert( double value, fromUnit, toUnit); newtemp = Convert( 72, [login to view URL], [login to view URL]); where fromUnit and toUnit would be defined from the list of 40 in the attached spreadsheet file. If the Convert function is called with miss matched unit types, for example [login to view URL] to [login to view URL], a compile time error (if possible) would occur. If not possible to receive a compile time error than a runtime error would be thrown. I would also like it structured so that it is easy to add addition units to the conversion. For example by adding rows to an array in the code. This function will be called often and changed infrequently. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) Class can be compiled withou warnings or errors. b) Class runs as described in MS Visual Studio 2003 and 2005. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform C# Visual Studio 2003
Project ID: 3095102

About the project

24 proposals
Remote project
Active 18 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
24 freelancers are bidding on average $31 USD for this job
User Avatar
See private message.
$68 USD in 5 days
4.9 (71 reviews)
6.5
6.5
User Avatar
See private message.
$21.25 USD in 5 days
4.9 (154 reviews)
6.2
6.2
User Avatar
See private message.
$68 USD in 5 days
4.9 (105 reviews)
6.4
6.4
User Avatar
See private message.
$42.50 USD in 5 days
5.0 (146 reviews)
6.0
6.0
User Avatar
See private message.
$42.50 USD in 5 days
4.9 (65 reviews)
5.8
5.8
User Avatar
See private message.
$4.25 USD in 5 days
5.0 (46 reviews)
5.7
5.7
User Avatar
See private message.
$25.50 USD in 5 days
4.7 (120 reviews)
5.9
5.9
User Avatar
See private message.
$41.65 USD in 5 days
4.9 (195 reviews)
5.7
5.7
User Avatar
See private message.
$17 USD in 5 days
5.0 (16 reviews)
5.0
5.0
User Avatar
See private message.
$17 USD in 5 days
4.7 (94 reviews)
4.8
4.8
User Avatar
See private message.
$34 USD in 5 days
4.4 (11 reviews)
4.9
4.9
User Avatar
See private message.
$12.75 USD in 5 days
4.8 (37 reviews)
4.5
4.5
User Avatar
See private message.
$11.05 USD in 5 days
5.0 (7 reviews)
3.9
3.9
User Avatar
See private message.
$34 USD in 5 days
5.0 (32 reviews)
3.5
3.5
User Avatar
See private message.
$25.50 USD in 5 days
5.0 (8 reviews)
3.3
3.3
User Avatar
See private message.
$42.50 USD in 5 days
4.5 (8 reviews)
3.0
3.0
User Avatar
See private message.
$42.50 USD in 5 days
0.0 (1 review)
0.0
0.0
User Avatar
See private message.
$11.04 USD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$17 USD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$17 USD in 5 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Bonita Springs, United States
5.0
156
Payment method verified
Member since Oct 25, 2004

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.