org.apache.poi.ss.formula.functions
Class Code

java.lang.Object
  extended by org.apache.poi.ss.formula.functions.Fixed1ArgFunction
      extended by org.apache.poi.ss.formula.functions.Code
All Implemented Interfaces:
Function, Function1Arg

public class Code
extends Fixed1ArgFunction

Implementation for Excel CODE () function.

Syntax:
CODE (text )

Returns a numeric code for the first character in a text string. The returned code corresponds to the character set used by your computer.

text The text for which you want the code of the first character.


Constructor Summary
Code()
           
 
Method Summary
 ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval textArg)
          see Function.evaluate(ValueEval[], int, int)
 
Methods inherited from class org.apache.poi.ss.formula.functions.Fixed1ArgFunction
evaluate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Code

public Code()
Method Detail

evaluate

public ValueEval evaluate(int srcRowIndex,
                          int srcColumnIndex,
                          ValueEval textArg)
Description copied from interface: Function1Arg
see Function.evaluate(ValueEval[], int, int)