code: public static double blackModelDgitialCapletValue(
  			double forward,
  			double volatility,
  			double periodLength,
  			double discountFactor,
  			double optionMaturity,
  			double optionStrike)
  	{
  		// May be interpreted as a special version of the Black-Scholes Formula
  		return AnalyticFormulas.blackScholesDigitalOptionValue(forward, 0.0, volatility, optionMaturity, optionStrike) * periodLength * discountFactor;
  	}
docs: Calculate the value of a digital caplet assuming the Black'76 model.
  
  @param forward The forward (spot).
  @param volatility The Black'76 volatility.
  @param periodLength The period length of the underlying forward rate.
  @param discountFactor The discount factor corresponding to the payment date (option maturity + period length).
  @param optionMaturity The option maturity
  @param optionStrike The option strike.
  @return Returns the price of a digital caplet under the Black'76 model