Ok, let me start off by showing you my problem. I have a var called "Number" this is how I have written it in lua
[lua]function Num( ply )
local Number = 76561 + 7656119796023432
ply:ChatPrint( Number )
end
concomand.Add("MyNumber", Num)[/lua]
But when I call the function "Num" by useing the console command "MyNumber" it returns this in the chat box 7.6561197961e+015 when it should be 7656119796099993 so my question is how do I stop this from happening?
print( string.format("%.0f", Number) );
Sorry, you need to Log In to post a reply to this thread.