expNums = 10
對(duì) ?3 取整 取余?
local line = math.modf( expNums / 3 )? -- 取整數(shù)
local mod = math.fmod( expNums, 3 )? ? -- 取余數(shù)
Lua ?math?
expNums = 10
對(duì) ?3 取整 取余?
local line = math.modf( expNums / 3 )? -- 取整數(shù)
local mod = math.fmod( expNums, 3 )? ? -- 取余數(shù)
Lua ?math?