Add StringToInt64() and Int64ToString() natives#1511
Add StringToInt64() and Int64ToString() natives#1511asherkin merged 4 commits intoalliedmodders:masterfrom
Conversation
|
I need this change to convert a big int array to a string value, working with unix bigstamp, SteamID64, EconItem itemid and etc.. |
|
Nice! This is a good interim solution and something I've been intending to add a format specifier for doing for ages. Could you add some test cases to the test suite? (Or share a test plugin and test results here.) |
|
|
|
I wonder if |
|
I'm ambivalent. Using int64 ids as anything other than strings is a bad idea unless there's some mathematical calculation going on. As numbers they are not portable to other languages (eg JavaScript/JSON). |
No description provided.