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
Conrad.
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text
- [SLUG] Perl question.. michaelf
- Re: [SLUG] Perl question.. Dean Hamstead
- Re: [SLUG] Perl question.. Dean Hamstead
- Re: [SLUG] Perl question.. Conrad Parker
- Re: [SLUG] Perl question.. Nigel Maddock
- Re: [SLUG] Perl question.. Conrad Parker
- Re: [SLUG] Perl question.. Alexander Else
- Re: [SLUG] Perl question.. Matthew Dalton
- Re: [SLUG] Perl question.. Kirrily 'Skud' Robert
