Posts by Joao Gabriel • 43 points
3 posts
-
0
votes3
answers1079
viewsA: How to format numbers in Lua?
function func(number) local number = number local decimal = number - math.floor(number) decimal = tonumber(tostring(decimal):sub(3, string.len(decimal))) number =…
-
3
votes1
answer1593
viewsQ: How to replace certain letters of a sentence?
I want to replace these letters: local words = {"v", "s ", "#@#", "s", "รง", "b", "mp", "t"} When they had in a sentence they would be replaced, or it could be a table like this too: local words = {…
luaasked Joao Gabriel 43 -
1
votes1
answer79
viewsQ: Help to save a table
How to save a table to a storage or string, and how I would return it?
luaasked Joao Gabriel 43