Seeking Perl Knowledge

Frank Wiles frank at wiles.org
Tue Mar 7 06:00:17 CST 2000


  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