Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Long/Int64 .NET Data types

$
0
0
Thank you for the workaround. For those that may run into this issue I was able to change the long to a double:
        JScriptEngine engine = new JScriptEngine();

        engine.Script.bigNumber = (double)1400000000000;
        var result = engine.Evaluate( "'BigNumber: ' + bigNumber" );

        Console.WriteLine( "Result: " + result.ToString() );
The number was output correctly.

Thank you!

Viewing all articles
Browse latest Browse all 2297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>