Actions

API17

Difference between revisions of "JHtmlNumber::bytes"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (JoomlaWikiBot moved page JHtmlNumber::bytes/11.1 to API17:JHtmlNumber::bytes without leaving a redirect: Robot: Moved page)

Revision as of 18:49, 10 May 2013

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

Description

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

Description:JHtmlNumber::bytes [Edit Descripton]

public static function bytes (
        $bytes
        $unit= 'auto'
        $precision=2
)
Parameter Type Default Description
$bytes
$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 />