Already have an account? Log in!
#!/usr/bin/perl $value = $ARGV[0]; @units = qw/b Kb Mb Gb Tb Pb Eb/; $unit = shift(@units); for ($try = $value ; 1024 <= $try ; $try /= 1024) { $unit = shift(@units); } printf("%s = %3.2f %sn", $value, $try, $unit);
Insert links to other pages or uploaded files.
Tip: To turn text into a link, highlight the text, then click on a page or file from the list above.
You don't have permission to comment on this page.
FrontPage
align
ascii
calc
chron
dt
errno
fl
ftw_pm
fx
hd
magnitude
odx
plwhich
replay
rot13
rxlab
scanpath
summarize
ptidy
tps
truth_table
vipath
wcal
wxfr
edit SideBar
Comments (0)
You don't have permission to comment on this page.