JHtmlNumber::bytes
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JHtmlNumber::bytes[edit]
Description[edit]
Converts bytes to more distinguishable formats such as: kilobytes, megabytes, etc.
Template:Description:JHtmlNumber::bytes [Edit Descripton]
Synopsis[edit]
public static JHtmlNumber::bytes ($bytes, $unit= 'auto', $precision=2)
Parameter | Type | Default | Description |
---|---|---|---|
$bytes | |||
$unit | 'auto' | ||
$precision | 2 |
Returns[edit]
Defined in[edit]
libraries/joomla/html/html/number.php
Referenced by[edit]
See also[edit]
Template:SeeAlso:JHtmlNumber::bytes
Examples[edit]
<CodeExamplesForm />