How to divide by a 22-digit number in C#? -


i trying develop software project @ university , encountered problem. need divide double variable number of 22-digits length in c#. possible?

below brief code of main operation:

public double chi_square     {                 {             double sus =numwords * math.pow((array2by2["o11"] * array2by2["o12"]) - (array2by2["o12"] * array2by2["o21"]), 2);             long jos = (array2by2["o11"] + array2by2["o12"]) * (array2by2["o11"] + array2by2["o21"]) * (array2by2["o12"] + array2by2["o22"]) * (array2by2["o21"] + array2by2["o22"]);             double result = sus / (double)jos;             return result;         }     } 

numwords of type int. array2by2 dictionary

in variable sus, required result have checked in excel. need double result of division. in advance.


Comments

Popular posts from this blog

c# - Where does the .ToList() go in LINQ query result -

android - CollapsingToolbarLayout: position the ExpandedText programmatically -

Listeners to visualise results of load test in JMeter -