Template:Datacalc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 28: Line 28:
| kilobytes  | kb
| kilobytes  | kb
| #default = {{{output|bytes}}}
| #default = {{{output|bytes}}}
}}<includeonly>
}}<includeonly></onlyinclude>

Revision as of 10:13, 1 June 2023

This template interprets a numbered input string in bytes and converts it to your specified output filesize.

Todo: Implement input filesize parameter that determines the exponentiation of the output filesize.
Todo: Implement a switch that swaps out the expression's decimal prefix for a binary prefix.