Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: Calculating base difference of numbers

by almut (Canon)
on May 30, 2008 at 20:20 UTC ( [id://689333]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
        (sprintf "%+e", $diff) =~ /([+-]\d)\./;
        return $1;
    }
    
  2. or download this
    +1
    +4
    -5
    
  3. or download this
    sub base_point_movement {
        my $bpm = sprintf "%+e", shift;
    ...
              15553.1   - 15552.99,    # +11
              # etc. (you get the idea :)
          );
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-23 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found