how to shorten coordinates ???
I have in mine craftbuild a gps service.
Now i have the problem with the coordinates.
If i ask them trought the gps i get like x = 159.357 y = 65.349 z = 469.248.
now i want to shorten them so i only have left what is infront the dot.
like this x = 159 y = 65 z = 469.
how can i do this in lua code, i try to learn all i can from lua.
but some times need help. cant do it all alone.
its as they say, only together we can do it all.
thnx alot already for the help.
and btw im dutch so dont lock at type errors.
What you want to do is described here:
Also please understand that you are asking your questions in a forum dedicated to Lord of the Rings Online, not a general LUA forum.
Oh sorry my fault, didnt know that, but thnx alot for the help
No need to apologize. I recommend https://stackoverflow.com/ as a general programming questions site - all kinds of programming questions are asked and answered there.
For example, here are the 17000 questions tagged with "Lua" and a lot of them answered: https://stackoverflow.com/questions/tagged/lua
|All times are GMT -5. The time now is 01:46 PM.|
vBulletin® - Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.