diff options
author | Timothy Warren <tim@timshomepage.net> | 2012-05-17 14:55:08 +0200 |
---|---|---|
committer | Timothy Warren <tim@timshomepage.net> | 2012-05-17 14:55:08 +0200 |
commit | 55450deee2acbdf112f5c206673b3215ca10dfcb (patch) | |
tree | 09fa0f810524ed353f868194059f336c6f26eb50 /system/helpers/number_helper.php | |
parent | 351c2e1b0d3fdca80a5483d708d7c71084226e68 (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(); |