math.random() broken?

Help creating logic scripts for Air Manager Instruments

Moderators: Ralph, russ

Post Reply
Message
Author
User avatar
brodhaq
Posts: 144
Joined: Wed Jun 29, 2016 4:13 pm

math.random() broken?

#1 Post by brodhaq » Sun Mar 28, 2021 3:53 pm

Hello,
just noticed that AM 3.7.10 seems to return 0.001251220703125 always, when I call math.random(). Can this be solved? It would be great to have a pseudo-random number.
random.PNG
random.PNG (7.41 KiB) Viewed 419 times
Pavel
Pavel Brodský
Prague, Czech Republic

User avatar
Ralph
Posts: 5103
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: math.random() broken?

#2 Post by Ralph » Sun Mar 28, 2021 4:01 pm


Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests