Perl Programming/Keywords/rand: Difference between revisions
Jump to navigation
Jump to search
imported>DannyS712 m Update syntaxhighlight tags - remove use of deprecated <source> tags |
(No difference)
|
Latest revision as of 07:34, 16 April 2020
The rand keyword
rand is a function that returns a random fractional number greater than or equal to 0 and less than the value of EXPRESSION. Without EXPRESSION, the value 1 is used so that the interval of the random number is .
Syntax
rand EXPRESSION
rand