whole_func_string: function formatPrice( cost, currencyCode, options = {} ) {
  	if ( undefined !== options.precision ) {
  		cost = applyPrecision( cost, options.precision );
  	}
  
  	return formatCurrency( cost, currencyCode, cost % 1 > 0 ? {} : { precision: 0 } );
  }
func_code_string: function formatPrice( cost, currencyCode, options = {} ) {
  	if ( undefined !== options.precision ) {
  		cost = applyPrecision( cost, options.precision );
  	}
  
  	return formatCurrency( cost, currencyCode, cost % 1 > 0 ? {} : { precision: 0 } );
  }
func_documentation_string: Formats price given cost and currency
  
  @param {Number} cost - cost
  @param {String} currencyCode - currency code to format with
  @param {Object} options - options containing precision
  @returns {String} - Returns a formatted price