• Big numbers in LUA
    2 replies, posted
I've recently been trying to convert a SteamID into a SteamID64. The formula for this is: [code] STEAM_X:Y:Z V = 0x0110000100000000(hex) or 76561197960265728 in dezimal SteamID64=Z*2+V+Y [/code] But if I print the steamid64, or any big number really garrys mod just prints(just an example): 765611979602+e015 I need to make the calculation and then turn the number into a string but I can't find away around that.
[url]http://wiki.garrysmod.com/page/util/SteamIDTo64[/url]
[QUOTE=Ice Tea;41487595][url]http://wiki.garrysmod.com/page/util/SteamIDTo64[/url][/QUOTE] Oh damn, I completely did not find that... Thanks a ton!
Sorry, you need to Log In to post a reply to this thread.