Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Nov 2001 13:22:08 -0500
From:      "Andre` Niel Cameron" <AndreC@Axxs.net>
To:        "Edwin Groothuis" <edwin@mavetju.org>
Cc:        "free bsd" <freebsd-questions@FreeBSD.ORG>, <cgi-list@jann.com>, <beginners-cgi@perl.org>
Subject:   Re: Quick question
Message-ID:  <00f501c1744b$c320a3f0$a50410ac@olmct.net>
References:  <034601c173cb$8edfee00$a50410ac@olmct.net> <20011123142616.D58388@k7.mavetju.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Yup should have sent it to one list was TOTALLY spacing that question;)
Sorry for asking such a dumb question;)  I was in a hurry and needed an
answer should have just thought about it for a second.  I appreciate the 34
responses I got though:)

Regards,
Andre` C.
Technical Support
ԿԬ
----------------------------------------------------------------------------
-
Visit our support manual at http://supportmanual.com/
----- Original Message -----
From: "Edwin Groothuis" <edwin@mavetju.org>
To: "Andre` Niel Cameron" <AndreC@axxs.net>
Cc: "free bsd" <freebsd-questions@FreeBSD.ORG>; <cgi-list@jann.com>;
<beginners-cgi@perl.org>
Sent: Thursday, November 22, 2001 10:26 PM
Subject: Re: Quick question


> On Thu, Nov 22, 2001 at 10:04:24PM -0500, Andre` Niel Cameron wrote:
> > Anyone know how to get a whole random number in perl?
> >
> > rand(18) always gives decimals I need just like 12 or 7 anyone know?
>
> Multiply it by the maximum number you want, for example if you want
> something between [1,20] you do int(rand()*20 + 1)
>
> Edwin, wondering if you couldn't have sent it to just one mailing-list.
>
> --
> Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
> edwin@mavetju.org |           Interested in MUDs? Visit Fatal Dimensions:
> ------------------+                       http://www.FatalDimensions.org/
>
> --
> To unsubscribe, e-mail: beginners-cgi-unsubscribe@perl.org
> For additional commands, e-mail: beginners-cgi-help@perl.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00f501c1744b$c320a3f0$a50410ac>