KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm wondering if there's a built in way to output readable file sizes with the Twig templating system. Say I have something like this in my template: <p>This limit is currently set to {{ maxBytes }}</p> How could I format maxBytes to display something like 30 GB ?
Tags (comma-separated)
Save Edits
Cancel