This discussion is closed.
Perplexed
Badges: 8
Rep:
? You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#1
Report Thread starter 18 years ago
#1
How can I generate a random number where:

x =< 11 ... and ... x => 9

Something to do with the RAND() function, but I'm lost after that...

Thanks for any help.
0
elpaw
Badges: 15
Rep:
? You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#2
Report 18 years ago
#2
(Original post by Alec)
How can I generate a random number where:

x =< 11 ... and ... x => 9

Something to do with the RAND() function, but I'm lost after that...

Thanks for any help.
=RAND()*2+9
0
Perplexed
Badges: 8
Rep:
? You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#3
Report Thread starter 18 years ago
#3
Thanks!

That seems so obvious now... *crawls back into hole*.
0
X
new posts
Back
to top
Latest
My Feed

See more of what you like on
The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

Personalise

How would you describe the quality of the digital skills you're taught at school?

Excellent (37)
9.54%
Okay (113)
29.12%
A bit lacking (147)
37.89%
Not good at all (91)
23.45%

Watched Threads

View All