diff options
author | Timothy Warren <tim@timshomepage.net> | 2012-05-17 14:53:07 +0200 |
---|---|---|
committer | Timothy Warren <tim@timshomepage.net> | 2012-05-17 14:53:07 +0200 |
commit | 0ab28ced4d4f20d5857fae9ec0e20452d4ac181b (patch) | |
tree | fae554725bd9b187f9b298e5702f951ac394a6d7 /system/helpers/number_helper.php | |
parent | d013c63462b4eaa2ac2f684b2ad498a9c4fb7dd5 (diff) | |
parent | e30b3f7afafa2c016cf78cc8bb8a457c2dbcda8c (diff) |
merge upstream
Diffstat (limited to 'system/helpers/number_helper.php')
-rw-r--r-- | system/helpers/number_helper.php | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/system/helpers/number_helper.php b/system/helpers/number_helper.php index 40da6e7bf..e49f2f7a0 100644 --- a/system/helpers/number_helper.php +++ b/system/helpers/number_helper.php @@ -37,14 +37,15 @@ // ------------------------------------------------------------------------ -/** - * Formats a numbers as bytes, based on size, and adds the appropriate suffix - * - * @param mixed // will be cast as int - * @return string - */ if ( ! function_exists('byte_format')) { + /** + * Formats a numbers as bytes, based on size, and adds the appropriate suffix + * + * @param mixed will be cast as int + * @param int + * @return string + */ function byte_format($num, $precision = 1) { $CI =& get_instance(); |