charon-unity3d icon indicating copy to clipboard operation
charon-unity3d copied to clipboard

ulong in the interface

Open JamesMac64 opened this issue 4 years ago • 1 comments

When I input a ulong into the interface where the field in Charon is a ulong/UInt64 the value changes. In this case I am storing the steamID of official servers.

Example: Enter value: 76561199007514970 Value stored becomes: 76561199007514974

Is there some Specification that I am missing or does Charon not handle ULongs correctly?

JamesMac64 avatar Oct 03 '21 08:10 JamesMac64

Hello, James! Unfortunately JS doesn't have native (U)Int64, so currently there is no support for numbers larger than Int53 (integer part of Double). This is UI limitation and will be fixed In future. You could switch to to text data type for steam identifiers.

deniszykov avatar Oct 03 '21 09:10 deniszykov