public static decimal PerRate(decimal a, decimal b) => (a - b) / b * 100m; public static float PerRate(float a, float b) => (a - b) / b * 100f;