Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:NBlocks: Difference between revisions

From Hacks Guide Wiki
No edit summary
No edit summary
Line 36: Line 36:


function p.blocks_to_bytes(frame)
function p.blocks_to_bytes(frame)
return blocks_to_bytes(frame.args[1])
return p.raw_blocks_to_bytes(frame.args[1])
end
end


function p.blocks_to_kilobytes(frame)
function p.blocks_to_kilobytes(frame)
return blocks_to_kilobytes(frame.args[1])
return p.raw_blocks_to_kilobytes(frame.args[1])
end
end


function p.blocks_to_megabytes(frame)
function p.blocks_to_megabytes(frame)
return blocks_to_megabytes(frame.args[1])
return p.raw_blocks_to_megabytes(frame.args[1])
end
end


function p.bytes_to_blocks(frame)
function p.bytes_to_blocks(frame)
return bytes_to_blocks(frame.args[1])
return p.raw_bytes_to_blocks(frame.args[1])
end
end


function p.megabytes_to_blocks(frame)
function p.megabytes_to_blocks(frame)
return megabytes_to_blocks(frame.args[1])
return p.raw_megabytes_to_blocks(frame.args[1])
end
end


return p
return p