Find Jobs
Hire Freelancers

C# Code Snippet, Math, Calculate Out Measuring Values

$30-5000 USD

Closed
Posted about 13 years ago

$30-5000 USD

Paid on delivery
I am looking for a simple C# code snippet. I need this method(s) to accept an integer, which represents the value on a Telerik gauge object. Experience with the control is not neccesary, since I just need integers as a return value using just straight .NET class (3.5, no 4). Rather than hardcoding the value, I need to be able to pass a value and it figure out what values should be used to make the gauge look ok. The following are the values I am looking for: MajorTicks Max MiddleTicks Min MinorTicks I believe I have already figured out the method for Max: public int ReturnMax(int value) { int max = (int)(value * 1.5); max = max + (10 - max % 10); int customMax = [login to view URL](100, max); return customMax; } I would like the other methods delivered in a similiar format. No commenting please. More on the control: <[login to view URL]>
Project ID: 3207692

About the project

8 proposals
Remote project
Active 13 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
8 freelancers are bidding on average $56 USD for this job
User Avatar
See private message.
$17 USD in 2 days
5.0 (89 reviews)
5.8
5.8
User Avatar
See private message.
$42.50 USD in 2 days
4.5 (19 reviews)
3.8
3.8
User Avatar
See private message.
$28.90 USD in 2 days
5.0 (1 review)
0.8
0.8
User Avatar
See private message.
$10.20 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$7.65 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$42.50 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$170 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$127.50 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Eden Prairie, United States
5.0
22
Payment method verified
Member since Sep 23, 2009

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.