playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Tutorial Series from Well Played Games now available on our YouTube channel for FREE!
Home
Help
Search
Login
Register
Playmaker Forum
»
Playmaker Help & Tips
»
Playmaker Help
»
How to generate a random interger that is a multiple of 10 or 100[SOLVED]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: How to generate a random interger that is a multiple of 10 or 100[SOLVED] (Read 129 times)
ilovelessons
Junior Playmaker
Posts: 70
How to generate a random interger that is a multiple of 10 or 100[SOLVED]
«
on:
May 14, 2017, 06: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
«
Last Edit: May 14, 2017, 11:37:01 PM by jeanfabre
»
Logged
terri
Sr. Member
Posts: 349
Re: How to generate a random interger that is a multiple of 10 or 100
«
Reply #1 on:
May 14, 2017, 06:41:13 AM »
use
Random Int
and then
Int Operator
to multiply it by 10 or 100
is that what you mean?
Logged
ilovelessons
Junior Playmaker
Posts: 70
Re: How to generate a random interger that is a multiple of 10 or 100
«
Reply #2 on:
May 14, 2017, 07:04:58 AM »
Thanks a lot I didn't realize there was an Int Operator function.. that solves everything.. thanks a million man
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
Playmaker Help & Tips
»
Playmaker Help
»
How to generate a random interger that is a multiple of 10 or 100[SOLVED]