Getting random to output a negative range?

Jun 14, 2009 at 6:42pm

Getting random to output a negative range?

Hi guys,
i am attempting to get random to output a range from -9000 to 9000. I cant figure out how to do this using the object itself or using an expression in conjunction. Any help will be greatly appreciated.

Thanks,Mike.

#44366
Jun 14, 2009 at 6:46pm

Try [random 18001] then [- 9000] and the output range will be -9000 to 9000 inclusive.

lh

#159606
Jun 14, 2009 at 6:56pm

Excellent. Much appreciated! Seems so obvious now but my dim mind just wouldn’t compute. Smile

Cheers,Mike.

#159607
Jun 14, 2009 at 8:14pm

you can also make something like this (see files for info)

#159608

You must be logged in to reply to this topic.