public long GetCost(int cost) { return(((long)(Math.Pow((double)cost / ChangeSpanBase, Power) * Precision)).Mul(Weight).Div(WeightBase) .Add(Precision.Mul(Numerator).Div(Denominator).Mul(cost))); }
public long GetCost(int cost) { return(Precision.Mul(ConstantValue)); }
public long GetCost(int cost) { return(Precision.Mul(cost).Mul(Numerator).Div(Denominator).Add(ConstantValue)); }