From df26ee52259cfcb66701a072266fd59fe75ef389 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 7 Nov 2010 18:24:28 +0100 Subject: change indentaion to tabs Signed-off-by: Florian Pritz --- system/application/helpers/filebin_helper.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'system/application/helpers/filebin_helper.php') diff --git a/system/application/helpers/filebin_helper.php b/system/application/helpers/filebin_helper.php index 34b231023..3d6c30b76 100644 --- a/system/application/helpers/filebin_helper.php +++ b/system/application/helpers/filebin_helper.php @@ -2,8 +2,9 @@ // Source: http://ibnuyahya.com/format-bytes-to-kb-mb-gb/ function format_bytes($size, $precision = 2){ - $base = log($size) / log(1024); - $suffixes = array('B', 'kB', 'MB', 'GB', 'TB' , 'PB' , 'EB'); - return round(pow(1024, $base - floor($base)), $precision) . $suffixes[floor($base)]; + $base = log($size) / log(1024); + $suffixes = array('B', 'kB', 'MB', 'GB', 'TB' , 'PB' , 'EB'); + return round(pow(1024, $base - floor($base)), $precision) . $suffixes[floor($base)]; } +# vim: set noet: -- cgit v1.2.3-24-g4f1b