Seeking Perl Knowledge

Chris Midkiff cmidkiff at ladybaltimore.com
Tue Mar 7 14:47:41 CST 2000


cool...  Thanks, That helps...

Chris Midkiff
cmidkiff at kc.rr.com

> -----Original Message-----
> From:	Frank Wiles [SMTP:frank at wiles.org]
> Sent:	Monday, March 06, 2000 11:56 PM
> To:	kclug at kclug.org
> Subject:	Re: kclug - Seeking Perl Knowledge
> 
>   Yes, there is an int. If returns the integer portion of a scalar. 
> 
>   Example: 
> 
>   $num = rand(100);
>   $num = int($num);
> 
>   Will give you a random integer between 0 and 100. :) Hope this
> helps. 
>   
>  -------------------------------
>   Frank Wiles <frank at wiles.org>
>   http://frank.wiles.org
>  -------------------------------
> 
> 
> 
> 
> 




More information about the Kclug mailing list