예제 #1
0
        static public decimal GetInterpolate(this decimal item, decimal target, decimal amount)
        {
            amount = amount.BindPercent();

            return(item * (1.0m - amount) + target * amount);
        }