Actions

API17

JHtmlNumber::bytes

From Joomla! Documentation

Revision as of 18:49, 10 May 2013 by JoomlaWikiBot (Talk | contribs)

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 />