Disclaimer: Auto generated file.
Please help us setting parameters to useful values and extending the examples.
- ia\Util\FormatIt::numberClean( $s) :
- ia\Util\FormatIt::numberClean(null /* == */);
->
Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /lamp/www/iaLib/inc_ia/Util/src/Str.php on line 14
- ia\Util\FormatIt::number_format( $number, $decimals = 0, $dec_point = '.', $thousand_sep = ',') :
- ia\Util\FormatIt::number_format(null /* == */);
->
- ia\Util\FormatIt::bytes2units(int $bytes) : string
/**
* Format bytes into readable units Kb, Mb,..
*
* @param int $bytes
* @return string
*/
- ia\Util\FormatIt::bytes2units(3); -> 3 b
- ia\Util\FormatIt::units2bytes(string $num) : string
/**
* Transform units (1K) to bytes 1024
*
* @param string $num 1K o 2048
* @return string number of bytes
*/
- ia\Util\FormatIt::units2bytes('palabra'); ->
- ia\Util\FormatIt::milliSecondsFormat(number $t0) : string
/**
* Formats milliseconds strings with time units
*
* @param number $t0 the number of milliseconds to format
* @return string formatted lapsed time in milliseconds
*/
- ia\Util\FormatIt::milliSecondsFormat(null /* =number= */); -> 0 ms
|