120121122123124125126127128129130
else { pricePosition = (period - timeWithinPeriod) / (period / 2); } EGenMoney priceCents = new EGenMoney(range); priceCents.multiplyByDouble(pricePosition); priceCents.add(rangeLow); return priceCents; }