Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: GB, MB, KB and on..

by Stevie-O (Friar)
on Jul 30, 2004 at 00:33 UTC ( [id://378563]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # will need adjustment if you want to do negative values
    # kbstring(1024) => 1KB
    ...
      }
      return sprintf '%.2fdsB', $value, $prefix[0];
    }
    
  2. or download this
    $"=$,,$_=q>|\p4<6 8p<M/_|<('=>
    .q>.<4-KI<l|2$<6%s!<qn#F<>;$,
    .=pack'N*',"@{[unpack'C*',$_]
    }"for split/</;$_=$,,y[A-Z a-z]
             {}cd;print lc
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2024-03-28 14:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found