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