Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: int() function

by jszinger (Scribe)
on Oct 27, 2020 at 15:43 UTC ( #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
Node Status?
node history
Node Type: note [id://11123212]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2021-04-23 01:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?