Hi,
I want to call the JavaScript function but no well in the client program, so i did the translation of code from JavaScript to the C#.
When i was try put in the ">>>" , it was warm me it's wrong.
And then i try to find the method to deal with, but failed.
The question is like under:
JavaScript:
when i try to with the code like under in C# :
(1)
(2)
the result was different with the JavaScript executed.
Is there have some to resolve this problem? Help me,please!
My E-mail: <email snipped>
And thank you for reading this topic.
Thanks a lot.
I want to call the JavaScript function but no well in the client program, so i did the translation of code from JavaScript to the C#.
When i was try put in the ">>>" , it was warm me it's wrong.
And then i try to find the method to deal with, but failed.
The question is like under:
JavaScript:
Code:
A >>> (B - C) ;A: Signed long, and less then zero.
(1)
Code:
(ulong)A >> (B - C);
Code:
Math.abs(A) >>(B - C);
Is there have some to resolve this problem? Help me,please!
My E-mail: <email snipped>
And thank you for reading this topic.
Thanks a lot.
Comment