lua給整數數字前面補零

-- 計算數字的位數 function DightNum(num) if math.floor(num) ~= num or num < 0 then return -1 elseif 0 == num then return 1 else local tmp_dight = 0 while num > 0 d
相關文章
相關標籤/搜索