Top Description Constructors Methods
org.apache.poi.ss.formula.functions

public Class Rept

extends Fixed2ArgFunction
Class Inheritance
Imports
org.apache.poi.ss.formula.eval.ErrorEval, .EvaluationException, .OperandResolver, .StringEval, .ValueEval

Implementation for Excel REPT () function.

Syntax:
REPT (text,number_times )

Repeats text a given number of times. Use REPT to fill a cell with a number of instances of a text string. text : text The text that you want to repeat. number_times: A positive number specifying the number of times to repeat text. If number_times is 0 (zero), REPT returns "" (empty text). If this argument contains a decimal value, this function ignores the numbers to the right side of the decimal point. The result of the REPT function cannot be longer than 32,767 characters, or REPT returns #VALUE!.

Constructor Summary

AccessConstructor and Description
public
Rept()

Method Summary

Modifier and TypeMethod and Description
public ValueEval
Inherited from org.apache.poi.ss.formula.functions.Fixed2ArgFunction:
evaluate

Constructor Detail

Reptback to summary
public Rept()

Method Detail

evaluateback to summary
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval text, ValueEval number_times)

Implements org.apache.poi.ss.formula.functions.Function2Arg.evaluate.

Doc from org.apache.poi.ss.formula.functions.Function2Arg.evaluate.

see Function#evaluate(ValueEval[], int, int)

Annotations
@Override