PHP Класс Coduo\PHPHumanizer\String\BinarySuffix

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( integer $number, string $locale = 'en', integer $precision = null )
convert ( )

Защищенные методы

Метод Описание
setSpecificPrecisionFormat ( integer $precision ) Replaces the default ICU 56.1 decimal formats defined in $binaryPrefixes with ones that provide the same symbols but the provided number of decimal places.

Описание методов

__construct() публичный Метод

public __construct ( integer $number, string $locale = 'en', integer $precision = null )
$number integer
$locale string
$precision integer

convert() публичный Метод

public convert ( )

setSpecificPrecisionFormat() защищенный Метод

Replaces the default ICU 56.1 decimal formats defined in $binaryPrefixes with ones that provide the same symbols but the provided number of decimal places.
protected setSpecificPrecisionFormat ( integer $precision )
$precision integer