Printable Version of Topic
Click here to view this topic in its original format
Main > ExamView Dynamic Content and Algorithms > Placing Limitations On A Variable's Range

Posted by: Mathos Jan 3 2010, 03:39 PM
I want a range:

range(negative number, positive number, 0.05)

And I want to limit the output so that the range never returns an integer value. I don't know if this is possible. If it's not, is it possible to define a variable's range as a collection of ranges?

For example:

range(-1.95, -1.05, 0.05) AND range(-0.95, -0.05, 0.05) AND range(0.05, 0.95, 0.05) AND...

Posted by: McGarrett Jan 8 2010, 10:52 PM
Try this.

num = range(negative, positive, .05) and a condition
int(num) <> num

© FSCreations, Inc. (