projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e605a0b
)
we're not a disk drive manufacturer
author
ivan
<ivan>
Fri, 30 Jan 2009 00:40:47 +0000
(
00:40
+0000)
committer
ivan
<ivan>
Fri, 30 Jan 2009 00:40:47 +0000
(
00:40
+0000)
FS/FS/UI/bytecount.pm
patch
|
blob
|
history
diff --git
a/FS/FS/UI/bytecount.pm
b/FS/FS/UI/bytecount.pm
index
d278dbe
..
0891e6d
100644
(file)
--- a/
FS/FS/UI/bytecount.pm
+++ b/
FS/FS/UI/bytecount.pm
@@
-31,11
+31,11
@@
sub bytecount_unexact {
my $bc = shift;
return("$bc bytes")
if ($bc < 1000);
my $bc = shift;
return("$bc bytes")
if ($bc < 1000);
- return(sprintf("%.2f Kbytes", $bc/10
00
))
+ return(sprintf("%.2f Kbytes", $bc/10
24
))
if ($bc < 1000000);
if ($bc < 1000000);
- return(sprintf("%.2f Mbytes", $bc/10
00000
))
+ return(sprintf("%.2f Mbytes", $bc/10
48576
))
if ($bc < 1000000000);
if ($bc < 1000000000);
- return(sprintf("%.2f Gbytes", $bc/10
00000000
));
+ return(sprintf("%.2f Gbytes", $bc/10
73741824
));
}
=item parse_bytecount AMOUNT
}
=item parse_bytecount AMOUNT