From: Antoine Musso Date: Mon, 9 Jan 2012 14:10:13 +0000 (+0000) Subject: method documentation for r108364 X-Git-Tag: 1.31.0-rc.0~25397 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=9cccde6485c0737a24c580e91f2e46cea00aabc7;p=lhc%2Fweb%2Fwiklou.git method documentation for r108364 The function are badly named and could use something better :D --- diff --git a/languages/Language.php b/languages/Language.php index 749d1b5eca..7fcce65e2a 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -3812,6 +3812,9 @@ class Language { * Format a bitrate for output, using an appropriate * unit (bps, kbps, Mbps, Gbps, Tbps, Pbps, Ebps, Zbps or Ybps) according to the magnitude in question * + * This use base 1000. For base 1024 use formatSize(), for another base + * see formatComputingNumbers() + * * @param $bps int * @return string */ @@ -3857,6 +3860,9 @@ class Language { * Format a size in bytes for output, using an appropriate * unit (B, KB, MB, GB, TB, PB, EB, ZB or YB) according to the magnitude in question * + * This method use base 1024. For base 1000 use formatBitrate(), for + * another base see formatComputingNumbers() + * * @param $size int Size to format * @return string Plain text (not HTML) */