edge icon indicating copy to clipboard operation
edge copied to clipboard

i found the value of long type in C# return to nodejs will changed

Open gentlecolder opened this issue 10 years ago • 3 comments

when i use edge, i found the value of long type in C# return to nodejs will changed when the value larger than the nodejs' allowed max number, so if there is a file we can edit to let the all long type or double number to be converted to the string when return to js before the my rebuiding time.

gentlecolder avatar Oct 26 '15 12:10 gentlecolder

thanks in advance

gentlecolder avatar Oct 26 '15 12:10 gentlecolder

Why not to convert long value to string inside C# (using ToString()) before returning? How the value of long type is changed if it exceeds max allowed number in JS?

konard avatar Oct 29 '15 01:10 konard

thank, i have solved it, just recomplie the edge which let the long allconvert to string

gentlecolder avatar Dec 04 '15 08:12 gentlecolder