Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

froggyfrance

macrumors newbie
Original poster
Apr 16, 2010
3
0
Hi guys,

Just a really quick question.

Say i want to make so that when someone enters a number *30* that translates into another number *5*

So if you drive 30km's that equates to "x" amount of carbon.

Thanks guys, any help is much appreciated.

(School projects :cool: )
 
Hard to think outloud.

Basically, i want it so that 1 = 0.65 or something, so that when the user inputs 3 say a bar next to it displays 1.95.

If that makes sense :p
 
But being a COMPLETE newbie to this, where would i input that into the code?

And how does it actually work, but much thanks for the reply.

Uh.... it seems you are doing this backwards. I think you should read up on whatever language you're trying to write your code in and then ask more specific questions (or better yet, try to figure them out for yourself first) as they arise.
 
But being a COMPLETE newbie to this, where would i input that into the code?

And how does it actually work, but much thanks for the reply.
If you're really a complete newb, it's time to step away from the real coding and go learn the basics of Objective-C, or even programming in general.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.