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