{fileSize -> f:format.bytes()}
{fileSize -> f:format.bytes(decimals: 2, decimalSeparator: ',', thousandsSeparator: ',')}
Show file
Open project: neos/flow-development-collection
Method | Description | |
---|---|---|
render ( integer $value = null, integer $decimals, string $decimalSeparator = '.', string $thousandsSeparator = ',' ) : string | Render the supplied byte count as a human readable string. | |
renderStatic ( array $arguments, Closure $renderChildrenClosure, TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext ) : string | Applies htmlspecialchars() on the specified value. |
public render ( integer $value = null, integer $decimals, string $decimalSeparator = '.', string $thousandsSeparator = ',' ) : string | ||
$value | integer | The incoming data to convert, or NULL if VH children should be used |
$decimals | integer | The number of digits after the decimal point |
$decimalSeparator | string | The decimal point character |
$thousandsSeparator | string | The character for grouping the thousand digits |
return | string | Formatted byte count |
public static renderStatic ( array $arguments, Closure $renderChildrenClosure, TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext ) : string | ||
$arguments | array | |
$renderChildrenClosure | Closure | |
$renderingContext | TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface | |
return | string |