On Fri, 08 Jun 2007 19:52:59 -0000
ash <[EMAIL PROTECTED]> wrote:

> Hello there!
> 
> I need to remove decimal points from numbers. For eg 1.23 or 1.77
> would be just 1. Any suggestion is appreciated. Thank you.
> 
> 

my $number = 1.77;
print int $number;

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to