function createAnnotationValue( actual, options ) {
	var opts;
	var err;

	opts = {};
	if ( arguments.length > 1 ) {
		err = validate( opts, options );
		if ( err ) {
			throw err;
		}
	}
	opts.numel = opts.numel || 4;
	opts.precision = opts.precision || 3;
	if ( opts.type ) {
		return typeAnnotation( actual );
	}
	return genericAnnotation( actual, opts );
}
Creates a doctest return annotation value.

@param {*} actual - actual return value
@param {Object} [options] - function options
@param {boolean} [options.decimal=false] - boolean indicating whether to always include a decimal point even for integer values
@param {boolean} [options.type=false] - boolean indicating whether to only specify type in created annotation
@param {PositiveInteger} [options.numel=4] - number of array elements to display in return annotation values before skipping elements via `...` notation
@param {PositiveInteger} [options.precision=3] - number of decimal digits for real-valued numbers
@throws {TypeError} options argument must be an object
@throws {TypeError} must provide valid options
@returns {string} return annotation value

@example
var out = createAnnotationValue( 1/3 );
// returns '~0.333'