示例#1
0
 public static void calculateExchange()
 {
     for (int i = 0; i < OrbList.Length; i++)
     {
         if (StockExchange.getRate(OrbList[i]) == 0)
         {
             OrbVals[i] = ((((i % OrbList.Length) + 1) * (float)Math.Round(Math.Pow(10, i))) + jMath.SumFloatArray(Count)) / Count[i];  // Takes a value made from the ranking spot,
         }
     }
 }
示例#2
0
 public Orb(string nameJ)
 {
     foreach (string nameK in Names)
     {
         if (nameK == nameJ)
         {
             Name  = nameK;
             value = StockExchange.getRate(nameK);
             StockExchange.incCount(nameK);
         }
     }
 }