local debug = require "debug" -- in case 5.2 debug.setmetatable(1, {__tostring=function(n) return ("%g"):format(n+1) end}) print(2+2)