Post
Topic
Board Gambling
Re: Seuntjies DiceBot -Multi-Site, multi-strategy betting bot for dice. With Charts!
by
seuntjie
on 16/04/2020, 15:15:23 UTC
chance  = math.random(1,10)

I need help. How do i code the chance lower than 1? like 0.10(990x Payout)

Thanks

increase your maximum in the random call by some order of magnitude and the divide the result again by the same order of magnitude.

ie math.random(1,10*100)/100.0