Floating Rounded numbers,. ?
Posted: Wed Apr 30, 2008 2:47 pm
Not sure if I'm just not up on my terminology or what,. but why can I not figure out how to set a value from a ZExpresion for a "Float" ?
i.e;
Timer.RepeatCount=7;
when I try this i get an err response "Only float type properties can be used:"
also; while I am here, what is the best way to round values to whole numbers ? for when I would like to get a random whole number without all the messy decimal places,. round(random(4,2) ) => 2,3,4,5,6 ???
Thnks
i.e;
Timer.RepeatCount=7;
when I try this i get an err response "Only float type properties can be used:"
also; while I am here, what is the best way to round values to whole numbers ? for when I would like to get a random whole number without all the messy decimal places,. round(random(4,2) ) => 2,3,4,5,6 ???
Thnks