Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

float values and operators

by soulchild (Acolyte)
on Aug 11, 2004 at 19:59 UTC ( [id://382071]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $a = 36.8;
    my $b = 36.6;
    if( $a >= ( $b + 0.2 ) ) { print "true\n"; }
    
  2. or download this
    my $a = 6.8;
    my $b = 6.6;
    if( $a >= ( $b + 0.2 ) ) { print "true\n"; }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-24 04:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found