diff options
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r-- | pod/perlfunc.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 1feb80ab8e..a38b9ba690 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -3532,8 +3532,8 @@ If EXPR is omitted, uses C<$_>. Returns a random fractional number greater than or equal to C<0> and less than the value of EXPR. (EXPR should be positive.) If EXPR is -omitted, the value C<1> is used. Automatically calls C<srand> unless -C<srand> has already been called. See also C<srand>. +omitted, or a C<0>, the value C<1> is used. Automatically calls C<srand> +unless C<srand> has already been called. See also C<srand>. Apply C<int()> to the value returned by C<rand()> if you want random integers instead of random fractional numbers. For example, |