lua_tonumber 轉換指定索引的值爲數字(lua_Number默認爲double)。這一lua值必須數字或可轉換爲數字的字符串(參考2.2.1),否則lua_tonumber返回0。
確定! 回上一頁