local function f() return 1, 2, 3 end local a,b,c = f() print(a,b,c) print(string.format("%d/%d", a,b)) local function rate() local hits, total, pct = 10, 20, 50 return hits, total, pct end local Hits, Total, Percent = rate() print(string.format("hit rate %d/%d recent %d%%", Hits, Total, Percent))