org.apache.poi.ss.formula.functions

## Class Code

- java.lang.Object
- - org.apache.poi.ss.formula.functions.Fixed1ArgFunction
  - - 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.

  Author:
    cedric dot walter @ gmail dot com

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Code()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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)`

Copyright 2020 The Apache Software Foundation or its licensors, as applicable.