Resto Posted May 14, 2018 Share Posted May 14, 2018 (edited) What is wrong with this code? Can anyone please tell me what is wrong? I need from x,xxx,xxx to xxxxxxx. function unconvertNumber(number) local result = number:gsub(',', ''); return tonumber(result); end Edited May 14, 2018 by Resto Link to comment
Skully Posted May 14, 2018 Share Posted May 14, 2018 Code works perfectly fine, what error or problem are you having? Link to comment
Resto Posted May 15, 2018 Author Share Posted May 15, 2018 14 hours ago, Skully said: Code works perfectly fine, what error or problem are you having? oh sorry. i fixed. But thanks. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now