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

Re^3: int() function

by jszinger (Scribe)
on Oct 27, 2020 at 15:43 UTC ( [id://11123212]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -E'say sprintf("%.100g", 0.15)'
    0.14999999999999999
    ...
    
    This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-li
    +nux-thread-multi
    (with 40 registered patches, see perl -V for more detail)
    
  2. or download this
    $ perl -E'say sprintf("%.100g", 0.15)'
    0.1499999999999999944488848768742172978818416595458984375
    ...
    
    This is perl 5, version 30, subversion 3 (v5.30.3) built for x86_64-li
    +nux-thread-multi
    (with 96 registered patches, see perl -V for more detail)
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-25 23:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found