I am using Asp.net MVC and my c ontroller return simple class which is contain properties of ulong type. However value of ulong is not displayed correctly.
For example:
My ulong acutal value is 525623822633172993 but this is displayed 525623822633173000. I could not understand why this problem occurs.
Test Class:
class testClass
{
public ulong testUlong = 525623822633172993;
}
Action Result:
public ActionResult test()
{
testClass tssc = new testClass();
return Json(tssc, JsonRequestBehavior.AllowGet);
}
Screenshots from Google Chrome Developer tools. (actually value is displayed correctly in Response Tab but it is displayed incorrectly in Preview tab.)
How can I display correctly this value?
Thank you.