Andre-

How about simply multiplying by 10,100 or what ever you need then
dropping the remaining decimal

I.E.  Int(100*rand(18));

Andre` Niel Cameron wrote:
> 
> Hi,
> 
> 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?
> 
> Regards,
> Andre` C.
> Technical Support
> ԿԬ
> ----------------------------------------------------------------------------
> -
> Visit our support manual at http://supportmanual.com/

-- 
Mark Murphy

[EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to