Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JHtmlNumber::bytes


Converts bytes to more distinguishable formats such as: kilobytes, megabytes, etc.

Description:JHtmlNumber::bytes [Edit Descripton]

public static function bytes (
        $unit= 'auto'
Parameter Type Default Description
$unit 'auto'
$precision 2
  • Returns
  • Defined on line 36 of libraries/joomla/html/html/number.php

See also

SeeAlso:JHtmlNumber::bytes [Edit See Also]

User contributed notes

<CodeExamplesForm />