Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

expected 0 not result gotten

by mikeraz (Friar)
on Dec 21, 2011 at 19:28 UTC ( #944681=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    mikeraz@hive:~> perl -e 'my $x = (.0425 * 2) + .0025; print $x - (.042
    +5 * 2) - .0025, $/;'
    2.16840434497101e-18
    mikeraz@hive:~>
    
  2. or download this
    mikeraz@hive:~> perl -e 'print ((.0425*2) + .0025 ) - ((.0425*2) + .00
    +25 ); print $/;'
    0.0875
    mikeraz@hive:~>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://944681]
Approved by toolic
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2022-08-11 05:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?