On Wed, 8 Aug 2001, Dwalu Z. Khasu wrote:

> You want int().  See below
>
> % perl -e 'print int(13.96)'

Actually, no, that only gives 13.  If you wanted that to round to 14,
you'd want

printf("%2.f", 13.96)

-- Brett
                                   http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
No-one would remember the Good Samaritan if he had only had good
intentions.  He had money as well.
                -- Margaret Thatcher


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

Reply via email to