Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^4: int($x) gives strange result

by ikegami (Patriarch)
on Aug 25, 2009 at 01:43 UTC ( [id://790952]=note: print w/replies, xml ) Need Help??


in reply to Re^3: int($x) gives strange result
in thread int($x) gives strange result

I never said it was. In response to the post, I said it was misleading. I didn't say anything about that line specifically. In fact, I went on to show what was misleading, and it had nothing to do with that line. The "POSIX::floor" and "POSIX::ceil" functions will not serve you better than will int().

Replies are listed 'Best First'.
Re^5: int($x) gives strange result
by Anonymous Monk on Aug 25, 2009 at 02:03 UTC
    How is it misleading, it explains how int truncates works?

      By being untrue. I have both shown and stated how it's untrue.

      Update: Wait, are you still talking about that linked document? Again, I didn't say that linked document was misleading.

        What does Usually mean in your universe? You really like to cherry pick bits and ignore everything else.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://790952]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-26 02:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found