Discord
Steam
/
Garry's Mod
/
Developers
/
Large Numbers ..
Login/Join
Event Log
Large Numbers into Strings
2 replies, posted
Search
In This Thread
How would I turn a very large number into an identical string? The following happens with any number longer than fourteen digits. [CODE] ] lua_run print( 999999999999999 ) > print( 999999999999999 )... 1e+015 [/CODE]
[lua]print(string.format("%f",num))[/lua] Perhaps?
[QUOTE=CherryJim;38525876][lua]print(string.format("%f",num))[/lua] Perhaps?[/QUOTE] This seems to work. Thank you very much.
Sorry, you need to
Log In
to post a reply to this thread.