LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

random

Solved!
Go to solution

Hi :

 

I want to create Random Number between 0 to 100 , Can any one help

 

thanks

wisam

0 Kudos
Message 1 of 3
(2,918 Views)
Solution
Accepted by wisam elyan
ran.PNG
Message 2 of 3
(2,914 Views)
For 0 to 100 (inclusive) so that 0 and 100 have the same probabilities as all the numbers in between, you should multiply by 101 and use the round down to -infinity function.  By multiplying by 100 and rounding to nearest, zero has about half the probability as the numbers from  1 to 99, and 100 has just slightly less than half the probability of those numbers.
Message 3 of 3
(2,866 Views)