Thanx wrote:I don't think you've been using the
rand
function, have you?
rand(6); or rand(5) + 1;
that should do it, and as far as I know, it gives integers back doesn't it?
or else:
do this: I know you used some function, do this:
round(the function used);
that'll rond the double to the closest integer!
Cheers! Good luck with the science fair!
Users browsing this forum: No registered users and 1 guest