UNB Components Code Reference

UnbLocale::DataSize method

Formats a data or file size in bytes.

public static function UnbLocale::DataSize ($size, $html = false);

Parameters

size

(int) Data or file size in bytes

html  –  optional, default: false

(bool) Prepare for HTML output

Return value

(string) Formatted size

Member of class: UnbLocale

Implementation file: locale.class.php, line 547

© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-22.