sub closetonormal { my($up, $low) = @_; my $normal = 0; $normal += rand for 1..12; # from Wikipedia $low + ($up - $low) * $normal / 12; }
In reply to Re: subroutines for close to half
by Anonymous Monk
in thread subroutines for close to half
by Aldebaran
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |