I am using the following setup. - Backend Entity framework V4 - Controller ASP.NET MCV - FrontEnd Typescript with Knockout JS
I am creating a incremental game like cookie clicker, and clicker heroes. Where you get income and more money constantly.
However now i am in the following issue the max size of a double is: 1.7976931348623157E+308 (https://msdn.microsoft.com/en-us/library/system.double.maxvalue(v=vs.110).aspx)
And the max size of a number in Javscript is: 1.7976931348623157e+308 https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_VALUE
But i want to store, show and calculate with numbers bigger then that. I tried looking at the BigInteger class but EF does not know how to store that.
Also i would not know how to intergrate that with typescript. I looked further but could not find any framework or class fitting my problem? Is there something for this, or do i need to build something from scratch?