/// <summary> /// Creates a new CompositeIndicator such that the result will be the difference of the left and constant /// </summary> /// <remarks> /// value = left - constant /// </remarks> /// <param name="left">The left indicator</param> /// <param name="constant">The subtrahend</param> /// <returns>The difference of the left and right indicators</returns> public static CompositeIndicator Minus(this IUpdatable left, double constant) { var constantIndicator = new ConstantIndicator(constant.ToString(CultureInfo.InvariantCulture), constant); return(left.Minus((IUpdatable)constantIndicator)); }