function t.numberMax(U)return function(c)local d,u=t.number(c)if not d then return false,u end if c<=U then return true else return false,string.format("\110\117\109\098\101\114 \060\061 \037\115 \101\120\112\101\099\116\101\100\044 \103\111\116 \037\115",U,c)end end end

function t.numberMax(max)
	return function(value)
		local success, errMsg = t.number(value)
		if not success then
			return false, errMsg
		end
		if value <= max then
			return true
		else
			return false, string.format("number <= %s expected, got %s", max, value)
		end
	end
end
