Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: how to evaluate exponential notations and floating points

by bichonfrise74 (Vicar)
on Dec 15, 2009 at 20:15 UTC ( #812928=note: print w/ replies, xml ) Need Help??


in reply to how to evaluate exponential notations and floating points

Take a look at this.

#!/usr/bin/perl use strict; while( my $evalue = <DATA> ){ chomp $evalue; if($evalue < 0.001){ print "$evalue\n"; } } __DATA__ 1e-005 2e-090 0.00 0.67 1.0 4e-065


Comment on Re: how to evaluate exponential notations and floating points
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2014-12-20 07:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls