Actions

API17

Difference between revisions of "JHtmlNumber::bytes"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 38: Line 38:
  
 
===Defined in===
 
===Defined in===
libraries/joomla/html/html/number.php
+
libraries/joomla/html/html/number.php (line 36)
 +
* see source code in [[jplatform:html/html/number.php#cl-36|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 20:43, 23 April 2011

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]

Synopsis

public static JHtmlNumber::bytes ($bytes, $unit= 'auto', $precision=2)
Parameter Type Default Description
$bytes
$unit 'auto'
$precision 2

Returns

Defined in

libraries/joomla/html/html/number.php (line 36)

Referenced by

See also

[Edit See Also]

SeeAlso:JHtmlNumber::bytes

Examples

<CodeExamplesForm />