Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: ilovelessons on May 14, 2017, 09:07:08 AM

Title: How to generate a random interger that is a multiple of 10 or 100[SOLVED]
Post by: ilovelessons on May 14, 2017, 09:07:08 AM
Hi,

I know how to use the Random Integer function, however for a game I am developing I need to generate a random multiple of 10 or 100. 

Is there any function to multiply a number by 10 also ???

Thanks guys
Title: Re: How to generate a random interger that is a multiple of 10 or 100
Post by: terri on May 14, 2017, 09:41:13 AM
use Random Int and then Int Operator to multiply it by 10 or 100
is that what you mean?
Title: Re: How to generate a random interger that is a multiple of 10 or 100
Post by: ilovelessons on May 14, 2017, 10:04:58 AM
Thanks a lot I didn't realize there was an Int Operator function.. that solves everything.. thanks a million man