Свойство | Тип | Описание | |
---|---|---|---|
$types |
Метод | Описание | |
---|---|---|
reverseTransform ( number $value, $originalValue ) : number | Transforms between a percentage value into a normalized format (integer or float). | |
transform ( number $value ) : number | Transforms between a normalized format (integer or float) into a percentage value. |
Метод | Описание | |
---|---|---|
configure ( ) | {@inheritDoc} | |
getNumberFormatter ( ) : NumberFormatter | Returns a preconfigured \NumberFormatter instance |
protected getNumberFormatter ( ) : NumberFormatter | ||
Результат | NumberFormatter |
public reverseTransform ( number $value, $originalValue ) : number | ||
$value | number | Percentage value. |
Результат | number | Normalized value. |