GetValue() public method

public GetValue ( ) : long
return long
 //returns the max loan sum for an airline
 public static double GetMaxLoanAmount(Airline airline)
 {
     return airline.GetValue()*500000;
 }
        //returns the discount factor for a manufactorer for an airline and for a period
        public static double GetAirlineManufactorerDiscountFactor(Airline airline, int length, bool forReputation)
        {
            double score;

            if (forReputation)
                score = 0.3*(1 + (int) airline.GetReputation());
            else
                score = 0.005*(1 + (int) airline.GetValue());

            double discountFactor = (Convert.ToDouble(length)/20) + (score);
            double discount = Math.Pow(discountFactor, 5);

            if (discount > 30)
                discount = length*3;

            return discount;
        }