Show
Ignore:
Timestamp:
12/19/06 22:51:09 (3 years ago)
Author:
gboggs
Message:

Re-fixed the sprintf() calls to just use digits instead of floats for bytes. BugId: 45951

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/wheeljack/lib/MT/Template/ContextHandlers.pm

    r950 r955  
    47054705        if ($format eq '1') { 
    47064706            if ($size < 1024) { 
    4707                 $ret = sprintf("%s Bytes", $size); 
     4707                $ret = sprintf("%d Bytes", $size); 
    47084708            } elsif ($size < 1024000) { 
    47094709                $ret = sprintf("%.1f KB", $size / 1024);