Location: PHPKode > projects > SithTemplate > SithTemplate-1.1/docs/examples/stdlib/01_filter_filesizeformat.html
{# var1 = 1000, var2 = 41211, var3 = 5230121, var4 = 5232338952 #}

{{ var1|filesizeformat }} {# => 1000 b #}
{{ var2|filesizeformat }} {# => 40.25 kB #}
{{ var3|filesizeformat }} {# => 4.99 MB #}
{{ var4|filesizeformat }} {# => 4.87 GB #}
Return current item: SithTemplate