Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Best Material for Floors: (POSIX--)

by tye (Sage)
on Dec 01, 2007 at 05:32 UTC ( #654279=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub floor {  $_[0] < 0  ?  -int(-$_[0])  :  int($_[0]);  }
    
  2. or download this
    sub floor { my $i= int( my $f= shift @_ ); return $i - ( $f<0 && $f!=$
    +i ); }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://654279]
help
Chatterbox?
[MidLifeXis]: Wait, what? Your specs are all tied down at the start? What is this dark magic, stevieb?

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2017-01-20 18:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (176 votes). Check out past polls.