No edit summary |
(Created page with "Convert between Nintendo blocks and standard byte units. == Examples == {| class="wikitable" ! Wikitext !! Result |- | <code><nowiki>{{#invoke:NBlocks|blocks_to_bytes|16}}</nowiki></code> || {{#invoke:NBlocks|blocks_to_bytes|16}} |- | <code><nowiki>{{#invoke:NBlocks|blocks_to_kilobytes|16}}</nowiki></code> || {{#invoke:NBlocks|blocks_to_kilobytes|16}} |- | <code><nowiki>{{#invoke:NBlocks|blocks_to_megabytes|16}}</nowiki></code> || {{#invoke:NBlocks|b...") |
||
Line 8: | Line 8: | ||
| <code><nowiki>{{#invoke:NBlocks|blocks_to_bytes|16}}</nowiki></code> || {{#invoke:NBlocks|blocks_to_bytes|16}} | | <code><nowiki>{{#invoke:NBlocks|blocks_to_bytes|16}}</nowiki></code> || {{#invoke:NBlocks|blocks_to_bytes|16}} | ||
|- | |- | ||
| <code><nowiki>{{#invoke:NBlocks| | | <code><nowiki>{{#invoke:NBlocks|blocks_to_kilobytes|16}}</nowiki></code> || {{#invoke:NBlocks|blocks_to_kilobytes|16}} | ||
|- | |- | ||
| <code><nowiki>{{#invoke:NBlocks| | | <code><nowiki>{{#invoke:NBlocks|blocks_to_megabytes|16}}</nowiki></code> || {{#invoke:NBlocks|blocks_to_megabytes|16}} | ||
|- | |- | ||
| <code><nowiki>{{#invoke:NBlocks|bytes_to_blocks|2097152}}</nowiki></code> || {{#invoke:NBlocks|bytes_to_blocks|2097152}} | | <code><nowiki>{{#invoke:NBlocks|bytes_to_blocks|2097152}}</nowiki></code> || {{#invoke:NBlocks|bytes_to_blocks|2097152}} | ||
|- | |- | ||
| <code><nowiki>{{#invoke:NBlocks| | | <code><nowiki>{{#invoke:NBlocks|megabytes_to_blocks|2}}</nowiki></code> || {{#invoke:NBlocks|megabytes_to_blocks|2}} | ||
|} | |} |
Revision as of 04:37, 18 October 2023
Convert between Nintendo blocks and standard byte units.
Examples
Wikitext | Result |
---|---|
{{#invoke:NBlocks|blocks_to_bytes|16}} |
2097152 |
{{#invoke:NBlocks|blocks_to_kilobytes|16}} |
Script error: The function "blocks_to_kilobytes" does not exist. |
{{#invoke:NBlocks|blocks_to_megabytes|16}} |
Script error: The function "blocks_to_megabytes" does not exist. |
{{#invoke:NBlocks|bytes_to_blocks|2097152}} |
16 |
{{#invoke:NBlocks|megabytes_to_blocks|2}} |
Script error: The function "megabytes_to_blocks" does not exist. |