How do I do this Equation?

Get help using Construct 2

Post » Thu Jun 23, 2016 1:31 pm

Hey guys... I have one question... Somebody can halp me?
I have two range... one hange is input and other one is output.

Input
min-----max
0---------200

Output
min-----max
1---------3

-----

Exemple:
if i input a number 0, i have a number 1 output.
if i input a number 100, i have a number 2 output.
if i input a number 200, i have a number 3 output.

I need to know how to make some equation to have a output.
Question exemple:
If i input a number 75, i have what number output?

Thanks for the help!
B
14
S
6
G
2
Posts: 81
Reputation: 2,241

Post » Thu Jun 23, 2016 1:50 pm

output = (input/100)+1
ImageImageImage
B
71
S
21
G
231
Posts: 3,688
Reputation: 129,352

Post » Thu Jun 23, 2016 10:08 pm

blackhornet wrote:output = (input/100)+1


That's it! Thank you.
B
14
S
6
G
2
Posts: 81
Reputation: 2,241


Return to How do I....?

Who is online

Users browsing this forum: lukewasthefish, marc254, Mayfly, Yahoo [Bot] and 14 guests