常用方法
常用方法
常用方法
常用方法
static public decimal GetInterpolate(this decimal item, decimal target, decimal amount) { amount = amount.BindPercent(); return(item * (1.0m - amount) + target * amount); }
static public decimal GetInterpolate(this decimal item, decimal target, decimal amount) { amount = amount.BindPercent(); return(item * (1.0m - amount) + target * amount); }