tondrej/chakracore-delphi

How to operate JsNumberToInt64?!

pony5551 opened this issue · 3 comments

to int64
to Cardinal

and
int64 to JsNumber
.....

use
JsNumberToDouble
DoubleToJsNumber

??

Yes - for now you can use the APIs exposed by ChakraCore:

or the corresponding helpers in ChakraCoreUtils:

Int64 support seems to be coming in one of the future releases.

thanks