chore: lua 加上缺失的 local

This commit is contained in:
Dvel
2024-01-02 20:59:23 +08:00
parent e5d122935f
commit 26d07f6239
2 changed files with 2 additions and 2 deletions

View File

@@ -58,7 +58,7 @@ local function formatNum(num,t)
end
-- 数值转换为中文
function number2cnChar(num,flag,digitUnit,wordFigure) --flag=0中文小写反之为大写
local function number2cnChar(num,flag,digitUnit,wordFigure) --flag=0中文小写反之为大写
local st,result
num=tostring(num) result=""
local num1,num2=math.modf(num)