-
numbers in between
Hi!
Here's what happens:
i have a variable (x) that is getting a lot of numbers along time. Since 0.0 till 10.0 (for instance) and i need that between numbers 0.0 till 1.0 something happens; between 1.1 till 2.0 something else happens and so on...
How can i do that?
Hope you understand me
Thank you
HUGO ANDRÉ RIBEIRO
-
if(x<=1) {
code here;
}else if(x>1&& x<=2) {
code here;
}
-
this sort of thing is perhaps what you need
if(x<=1) {
code here;
}else if(x>1&& x<=2) {
code here;
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|