Closed seberoth closed 1 year ago
Nevermind, it was me -.- Of course doesn't work to pass a number that big into the BigInt constructor. With qoutes it works.
Hi @seberoth,
Thanks for the update. Note that you can also use BigInt
literals – e.g., 18446744073709550590n
to avoid parsing and explicit invocation of the BigInt
constructor.
Cheers!
ClearScript: 7.4.1 .Net: 7
Hi,
I currently try to pass an uint64 from JS to a host method. After learning, that JS numbers doesn't work for that I tried using BigInteger. But for some reason, the value which is passed to the host method isn't the one used in JS.