dear sir,
is it possible you can assist me on
how to generate random number between the range -10 to 10.
kenwin
On Thu 06 Mar, Andrew Green wrote:
In article [EMAIL PROTECTED],
kenwin charles [EMAIL PROTECTED] wrote:
is it possible you can assist me on how to generate random number
between the range -10 to 10.
my $num = int(rand 21) - 10;
Yes, but please bear in mind that the RISC OS port
In article [EMAIL PROTECTED],
James Taylor [EMAIL PROTECTED] wrote:
There is a bug in UnixLib upon which RISC OS Perl is dependent, that
causes the random number to be generated incorrectly. There was a
thread of discussion about the problem on this very mailing list a
while back.
Thanks