On Wed, Apr 05, 2000 at 03:31:41PM +1000, Conrad Parker wrote:
> On Wed, Apr 05, 2000 at 03:04:06PM +1000, [EMAIL PROTECTED] wrote:
> > 
> > Basically I don't want decimal points in the final output.
> > 
> 
> using printf:  printf "%.0f\n", $data1;
> 
> you can also take the floor or ceil of your variables with
> POSIX::floor and POSIX::ceil.
> 
> for more info:
>       perldoc -f printf
>       perldoc POSIX

int()

-- 
Nigel Maddock    | Copywight 1999 Elmer Fudd. 
[EMAIL PROTECTED]   | All wights wesewved.
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to