Use integer, e.g.

print "her age is integer($age)";

The function will round up to the next highest number.

-----Original Message-----
From: Thomas Jakub [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 09, 2001 3:36 PM
To: [EMAIL PROTECTED]
Subject: floor


in c++ you can floor a variable to drop the decimal
points.  How can you do this with perl?

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Reply via email to