public void InterestRate_ValueTest() { Assert.AreEqual(0.01M, _interestRateBO.Value()); }
public ActionResult <string> Get() { return(_interestBO.Value().ToString("n2")); }
public decimal Value(decimal initialValue, int time) { decimal result = initialValue * (decimal)Math.Pow((double)(1 + _interestRateBO.Value()), time); return(Math.Truncate(result * 100) / 100); }