<?xml version="1.0" encoding="UTF-8"?>
<appendix id="function-reference">
  <title>Function Reference</title>
  <para>
    This appendix provides a list of all the functions which are
    currently defined in Gnumeric.
    <!-- Do not use &gnum; here we use xmllint to validate and format functions.xml
         and it does not have access to the entities -->
  </para>
  <sect1 id="CATEGORY_Bitwise_Operations">
    <title>Bitwise Operations</title>
    <refentry id="gnumeric-BITAND">
      <refmeta>
        <refentrytitle>
          <function>BITAND</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>BITAND</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>BITAND</function>(<parameter>a</parameter>,<parameter>b</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>BITAND</function> function returns bitwise and-ing of its arguments.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-BITOR"><function>BITOR</function></link>,
        <link linkend="gnumeric-BITXOR"><function>BITXOR</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-BITLSHIFT">
      <refmeta>
        <refentrytitle>
          <function>BITLSHIFT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>BITLSHIFT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>BITLSHIFT</function>(<parameter>x</parameter>,<parameter>n</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>BITLSHIFT</function> function returns <parameter>x</parameter> bit-shifted left by <parameter>n</parameter> bits.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>n</parameter> is negative, a right shift will in effect be performed.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-BITRSHIFT"><function>BITRSHIFT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-BITOR">
      <refmeta>
        <refentrytitle>
          <function>BITOR</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>BITOR</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>BITOR</function>(<parameter>a</parameter>,<parameter>b</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>BITOR</function> function returns bitwise or-ing of its arguments.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-BITXOR"><function>BITXOR</function></link>,
        <link linkend="gnumeric-BITAND"><function>BITAND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-BITRSHIFT">
      <refmeta>
        <refentrytitle>
          <function>BITRSHIFT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>BITRSHIFT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>BITRSHIFT</function>(<parameter>x</parameter>,<parameter>n</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>BITRSHIFT</function> function returns <parameter>x</parameter> bit-shifted right by <parameter>n</parameter> bits.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>n</parameter> is negative, a left shift will in effect be performed.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-BITLSHIFT"><function>BITLSHIFT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-BITXOR">
      <refmeta>
        <refentrytitle>
          <function>BITXOR</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>BITXOR</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>BITXOR</function>(<parameter>a</parameter>,<parameter>b</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>BITXOR</function> function returns bitwise exclusive or-ing of its arguments.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-BITOR"><function>BITOR</function></link>,
        <link linkend="gnumeric-BITAND"><function>BITAND</function></link>.
      </para>
      </refsect1>
    </refentry>
  </sect1>
  <sect1 id="CATEGORY_Complex">
    <title>Complex</title>
    <refentry id="gnumeric-COMPLEX">
      <refmeta>
        <refentrytitle>
          <function>COMPLEX</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>COMPLEX</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>COMPLEX</function>(<parameter>real</parameter>,<parameter>im</parameter>[,<parameter>suffix</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>COMPLEX</function> returns a complex number of the form x + yi.</para>
        <para><parameter>real</parameter> is the real and <parameter>im</parameter> is the imaginary part of the complex number.  <parameter>suffix</parameter> is the suffix for the imaginary part.  If it is omitted, <function>COMPLEX</function> uses 'i' by default.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>suffix</parameter> is neither 'i' nor 'j', <function>COMPLEX</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>COMPLEX</function>(1,-1) equals 1-i.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMABS">
      <refmeta>
        <refentrytitle>
          <function>IMABS</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMABS</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMABS</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMABS</function> returns the absolute value of a complex number.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMABS</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMABS</function>("2-j") equals 2.23606798.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMAGINARY"><function>IMAGINARY</function></link>,
        <link linkend="gnumeric-IMREAL"><function>IMREAL</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMAGINARY">
      <refmeta>
        <refentrytitle>
          <function>IMAGINARY</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMAGINARY</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMAGINARY</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMAGINARY</function> returns the imaginary part of a complex number.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMAGINARY</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMAGINARY</function>("132-j") equals -1.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMREAL"><function>IMREAL</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMARCCOS">
      <refmeta>
        <refentrytitle>
          <function>IMARCCOS</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMARCCOS</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMARCCOS</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMARCCOS</function> returns the complex arccosine of the complex number <parameter>inumber</parameter>. The branch cuts are on the real axis, less than -1 and greater than 1.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMARCCOS</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMARCCOS</function>("1+j") equals 0.9045569-1.061275j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMARCSIN"><function>IMARCSIN</function></link>,
        <link linkend="gnumeric-IMARCTAN"><function>IMARCTAN</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMARCCOSH">
      <refmeta>
        <refentrytitle>
          <function>IMARCCOSH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMARCCOSH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMARCCOSH</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMARCCOSH</function> returns the complex hyperbolic arccosine of the complex number <parameter>inumber</parameter>. The branch cut is on the real axis, less than 1.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMARCCOSH</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMARCCOSH</function>("1+j") equals 1.06127506+0.904557j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMARCSINH"><function>IMARCSINH</function></link>,
        <link linkend="gnumeric-IMARCTANH"><function>IMARCTANH</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMARCCOT">
      <refmeta>
        <refentrytitle>
          <function>IMARCCOT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMARCCOT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMARCCOT</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMARCCOT</function> returns the complex arccotangent of the complex number z (<parameter>inumber</parameter>), where</para>
        <para>	arccot(z) = arctan(1/z).</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMARCCOT</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMARCCOT</function>("1+j") equals 0.553574+0.4023595j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMARCSEC"><function>IMARCSEC</function></link>,
        <link linkend="gnumeric-IMARCCSC"><function>IMARCCSC</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMARCCOTH">
      <refmeta>
        <refentrytitle>
          <function>IMARCCOTH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMARCCOTH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMARCCOTH</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMARCCOTH</function> returns the complex hyperbolic arccotangent of the complex number z (<parameter>inumber</parameter>), where</para>
        <para>	arccoth(z) = arctanh(1/z).</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMARCCOTH</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMARCCOTH</function>("1+j") equals 0.40235948-0.5535744j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMARCSECH"><function>IMARCSECH</function></link>,
        <link linkend="gnumeric-IMARCCSCH"><function>IMARCCSCH</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMARCCSC">
      <refmeta>
        <refentrytitle>
          <function>IMARCCSC</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMARCCSC</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMARCCSC</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMARCCSC</function> returns the complex arccosecant of the complex number z (<parameter>inumber</parameter>), where</para>
        <para>	arccsc(z) = arcsin(1/z).</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMARCCSC</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMARCCSC</function>("1+j") equals 0.45227845-0.5306375j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMARCSEC"><function>IMARCSEC</function></link>,
        <link linkend="gnumeric-IMARCCOT"><function>IMARCCOT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMARCCSCH">
      <refmeta>
        <refentrytitle>
          <function>IMARCCSCH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMARCCSCH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMARCCSCH</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMARCCSCH</function> returns the complex hyperbolic arccosecant of the complex number z (<parameter>inumber</parameter>), where</para>
        <para>	arccsch(z) = arcsinh(1/z).</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMARCCSCH</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMARCCSCH</function>("1+j") equals 0.5306375-0.452278j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMARCSECH"><function>IMARCSECH</function></link>,
        <link linkend="gnumeric-IMARCCOTH"><function>IMARCCOTH</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMARCSEC">
      <refmeta>
        <refentrytitle>
          <function>IMARCSEC</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMARCSEC</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMARCSEC</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMARCSEC</function> returns the complex arcsecant of the complex number z (<parameter>inumber</parameter>), where</para>
        <para>	arcsec(z) = arccos(1/z).</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMARCSEC</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMARCSEC</function>("1+j") equals 1.1185179+0.5306375j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMARCCSC"><function>IMARCCSC</function></link>,
        <link linkend="gnumeric-IMARCCOT"><function>IMARCCOT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMARCSECH">
      <refmeta>
        <refentrytitle>
          <function>IMARCSECH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMARCSECH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMARCSECH</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMARCSECH</function> returns the complex hyperbolic arcsecant of the complex number z (<parameter>inumber</parameter>), where</para>
        <para>	arcsech(z) = arccosh(1/z).</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMARCSECH</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMARCSECH</function>("1+j") equals 0.5306375-1.118518j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMARCCSCH"><function>IMARCCSCH</function></link>,
        <link linkend="gnumeric-IMARCCOTH"><function>IMARCCOTH</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMARCSIN">
      <refmeta>
        <refentrytitle>
          <function>IMARCSIN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMARCSIN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMARCSIN</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMARCSIN</function> returns the complex arcsine of the complex number <parameter>inumber</parameter>. The branch cuts are on the real axis, less than -1 and greater than 1.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMARCSIN</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMARCSIN</function>("1+j") equals 0.6662394+1.061275j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMARCCOS"><function>IMARCCOS</function></link>,
        <link linkend="gnumeric-IMARCTAN"><function>IMARCTAN</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMARCSINH">
      <refmeta>
        <refentrytitle>
          <function>IMARCSINH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMARCSINH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMARCSINH</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMARCSINH</function> returns the complex hyperbolic arcsine of the complex number <parameter>inumber</parameter>. The branch cuts are on the imaginary axis, below -i and above i.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMARCSINH</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMARCSINH</function>("1+j") equals 1.061275+0.6662394j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMARCCOSH"><function>IMARCCOSH</function></link>,
        <link linkend="gnumeric-IMARCTANH"><function>IMARCTANH</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMARCTAN">
      <refmeta>
        <refentrytitle>
          <function>IMARCTAN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMARCTAN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMARCTAN</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMARCTAN</function> returns the complex arctangent of the complex number <parameter>inumber</parameter>. The branch cuts are on the imaginary axis, below -i and above i.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMARCTAN</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMARCTAN</function>("1+j") equals 1.0172220+0.4023595j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMARCSIN"><function>IMARCSIN</function></link>,
        <link linkend="gnumeric-IMARCCOS"><function>IMARCCOS</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMARCTANH">
      <refmeta>
        <refentrytitle>
          <function>IMARCTANH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMARCTANH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMARCTANH</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMARCTANH</function> returns the complex hyperbolic arctangent of the complex number <parameter>inumber</parameter>. The branch cuts are on the real axis, less than -1 and greater than 1.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMARCTANH</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMARCTANH</function>("1+j") equals 0.4023595+1.0172220j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMARCSINH"><function>IMARCSINH</function></link>,
        <link linkend="gnumeric-IMARCCOSH"><function>IMARCCOSH</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMARGUMENT">
      <refmeta>
        <refentrytitle>
          <function>IMARGUMENT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMARGUMENT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMARGUMENT</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMARGUMENT</function> returns the argument theta of a complex number, i.e. the angle in radians from the real axis to the representation of the number in polar coordinates.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMARGUMENT</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMARGUMENT</function>("2-j") equals -0.463647609.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMCONJUGATE">
      <refmeta>
        <refentrytitle>
          <function>IMCONJUGATE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMCONJUGATE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMCONJUGATE</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMCONJUGATE</function> returns the complex conjugate of a complex number.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMCONJUGATE</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMCONJUGATE</function>("1-j") equals 1+j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMAGINARY"><function>IMAGINARY</function></link>,
        <link linkend="gnumeric-IMREAL"><function>IMREAL</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMCOS">
      <refmeta>
        <refentrytitle>
          <function>IMCOS</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMCOS</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMCOS</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMCOS</function> returns the cosine of a complex number.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMCOS</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMCOS</function>("1+j") equals 0.833730-0.988898j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMSIN"><function>IMSIN</function></link>,
        <link linkend="gnumeric-IMTAN"><function>IMTAN</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMCOSH">
      <refmeta>
        <refentrytitle>
          <function>IMCOSH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMCOSH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMCOSH</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMCOSH</function> returns the complex hyperbolic cosine of the complex number z (<parameter>inumber</parameter>), where</para>
        <para>	cosh(z) = (exp(z) + exp(-z))/2.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMCOSH</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMCOSH</function>("1+j") equals 0.83373+0.988898j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMSINH"><function>IMSINH</function></link>,
        <link linkend="gnumeric-IMTANH"><function>IMTANH</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMCOT">
      <refmeta>
        <refentrytitle>
          <function>IMCOT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMCOT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMCOT</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMCOT</function> returns the complex cotangent of the complex number z (<parameter>inumber</parameter>), where</para>
        <para>	cot(z) = 1/tan(z).</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMCOT</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMCOT</function>("2-j") equals -0.171384+0.821330j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMSEC"><function>IMSEC</function></link>,
        <link linkend="gnumeric-IMCSC"><function>IMCSC</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMCOTH">
      <refmeta>
        <refentrytitle>
          <function>IMCOTH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMCOTH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMCOTH</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMCOTH</function> returns the complex hyperbolic cotangent of the complex number z (<parameter>inumber</parameter>) where,</para>
        <para>	coth(z) = 1/tanh(z).</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMCOTH</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMCOTH</function>("1+j") equals 0.868014-0.217622j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMSECH"><function>IMSECH</function></link>,
        <link linkend="gnumeric-IMCSCH"><function>IMCSCH</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMCSC">
      <refmeta>
        <refentrytitle>
          <function>IMCSC</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMCSC</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMCSC</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMCSC</function> returns the complex cosecant of the complex number z (<parameter>inumber</parameter>), where</para>
        <para>	csc(z) = 1/sin(z).</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMCSC</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMCSC</function>("2-j") equals 0.635494-0.221501j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMSEC"><function>IMSEC</function></link>,
        <link linkend="gnumeric-IMCOT"><function>IMCOT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMCSCH">
      <refmeta>
        <refentrytitle>
          <function>IMCSCH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMCSCH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMCSCH</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMCSCH</function> returns the complex hyperbolic cosecant of the complex number z (<parameter>inumber</parameter>), where</para>
        <para>	csch(z) = 1/sinh(z).</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMCSCH</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMCSCH</function>("1+j") equals 0.303931-0.621518j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMSECH"><function>IMSECH</function></link>,
        <link linkend="gnumeric-IMCOTH"><function>IMCOTH</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMDIV">
      <refmeta>
        <refentrytitle>
          <function>IMDIV</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMDIV</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMDIV</function>(<parameter>inumber1</parameter>,<parameter>inumber2</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMDIV</function> returns the quotient of two complex numbers.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber1</parameter> or <parameter>inumber2</parameter> are not valid complex numbers, <function>IMDIV</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMDIV</function>("2-j","2+j") equals 0.6-0.8j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMPRODUCT"><function>IMPRODUCT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMEXP">
      <refmeta>
        <refentrytitle>
          <function>IMEXP</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMEXP</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMEXP</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMEXP</function> returns the exponential of a complex number.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMEXP</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMEXP</function>("2-j") equals 3.992324-6.217676j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMLN"><function>IMLN</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMINV">
      <refmeta>
        <refentrytitle>
          <function>IMINV</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMINV</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMINV</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMINV</function> returns the inverse, or reciprocal, of the complex number z (<parameter>inumber</parameter>), where</para>
        <para>	1/z = (x - i y)/(x^2 + y^2).</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMINV</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMINV</function>("1-j") equals 0.5+0.5j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMLN">
      <refmeta>
        <refentrytitle>
          <function>IMLN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMLN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMLN</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMLN</function> returns the natural logarithm of a complex number.</para>
        <para>The result will have an imaginary part between -pi and +pi.  The natural logarithm is not uniquely defined on complex numbers. You may need to add or subtract an even multiple of pi to the imaginary part.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMLN</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMLN</function>("3-j") equals 1.15129-0.32175j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMEXP"><function>IMEXP</function></link>,
        <link linkend="gnumeric-IMLOG2"><function>IMLOG2</function></link>,
        <link linkend="gnumeric-IMLOG10"><function>IMLOG10</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMLOG10">
      <refmeta>
        <refentrytitle>
          <function>IMLOG10</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMLOG10</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMLOG10</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMLOG10</function> returns the logarithm of a complex number in base 10.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMLOG10</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMLOG10</function>("3-j") equals 0.5-0.13973j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMLN"><function>IMLN</function></link>,
        <link linkend="gnumeric-IMLOG2"><function>IMLOG2</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMLOG2">
      <refmeta>
        <refentrytitle>
          <function>IMLOG2</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMLOG2</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMLOG2</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMLOG2</function> returns the logarithm of a complex number in base 2.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMLOG2</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMLOG2</function>("3-j") equals 1.66096-0.46419j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMLN"><function>IMLN</function></link>,
        <link linkend="gnumeric-IMLOG10"><function>IMLOG10</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMNEG">
      <refmeta>
        <refentrytitle>
          <function>IMNEG</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMNEG</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMNEG</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMNEG</function> returns the negative of the complex number z (<parameter>inumber</parameter>), where</para>
        <para>	-z = (-x) + i(-y).</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMNEG</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMNEG</function>("1-j") equals -1+j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMPOWER">
      <refmeta>
        <refentrytitle>
          <function>IMPOWER</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMPOWER</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMPOWER</function>(<parameter>inumber1</parameter>,<parameter>inumber2</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMPOWER</function> returns a complex number raised to a power.  <parameter>inumber1</parameter> is the complex number to be raised to a power and <parameter>inumber2</parameter> is the power to which you want to raise it.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber1</parameter> or <parameter>inumber2</parameter> are not valid complex numbers, <function>IMPOWER</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMPOWER</function>("4-j",2) equals 15-8j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMSQRT"><function>IMSQRT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMPRODUCT">
      <refmeta>
        <refentrytitle>
          <function>IMPRODUCT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMPRODUCT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMPRODUCT</function>(<parameter>inumber1</parameter>[,<parameter>inumber2</parameter>,<parameter/>...])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMPRODUCT</function> returns the product of given complex numbers.</para>
        <itemizedlist>
          <listitem>
            <para>If any of the <parameter>inumbers</parameter> are not valid complex numbers, <function>IMPRODUCT</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMPRODUCT</function>("2-j","4-2j") equals 6-8j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMDIV"><function>IMDIV</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMREAL">
      <refmeta>
        <refentrytitle>
          <function>IMREAL</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMREAL</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMREAL</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMREAL</function> returns the real part of a complex number.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMREAL</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>imreal("132-j") equals 132.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMAGINARY"><function>IMAGINARY</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMSEC">
      <refmeta>
        <refentrytitle>
          <function>IMSEC</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMSEC</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMSEC</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMSEC</function> returns the complex secant of the complex number z (<parameter>inumber</parameter>), where</para>
        <para>	sec(z) = 1/cos(z).</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMSEC</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMSEC</function>("2-j") equals -0.413149-0.687527j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMCSC"><function>IMCSC</function></link>,
        <link linkend="gnumeric-IMCOT"><function>IMCOT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMSECH">
      <refmeta>
        <refentrytitle>
          <function>IMSECH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMSECH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMSECH</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMSECH</function> returns the complex hyperbolic secant of the complex number z (<parameter>inumber</parameter>), where</para>
        <para>	sech(z) = 1/cosh(z).</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMSECH</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMSECH</function>("1+j") equals 0.498337-0.5910838j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMCSCH"><function>IMCSCH</function></link>,
        <link linkend="gnumeric-IMCOTH"><function>IMCOTH</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMSIN">
      <refmeta>
        <refentrytitle>
          <function>IMSIN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMSIN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMSIN</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMSIN</function> returns the sine of a complex number.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMSIN</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMSIN</function>("1+j") equals 1.29846+0.63496j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMCOS"><function>IMCOS</function></link>,
        <link linkend="gnumeric-IMTAN"><function>IMTAN</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMSINH">
      <refmeta>
        <refentrytitle>
          <function>IMSINH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMSINH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMSINH</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMSINH</function> returns the complex hyperbolic sine of the complex number z (<parameter>inumber</parameter>), where</para>
        <para>	sinh(z) = (exp(z) - exp(-z))/2.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMSINH</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMSINH</function>("1+j") equals 0.63496+1.29846j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMCOSH"><function>IMCOSH</function></link>,
        <link linkend="gnumeric-IMTANH"><function>IMTANH</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMSQRT">
      <refmeta>
        <refentrytitle>
          <function>IMSQRT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMSQRT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMSQRT</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMSQRT</function> returns the square root of a complex number.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMSQRT</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMSQRT</function>("1+j") equals 1.09868+0.4550899j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMPOWER"><function>IMPOWER</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMSUB">
      <refmeta>
        <refentrytitle>
          <function>IMSUB</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMSUB</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMSUB</function>(<parameter>inumber1</parameter>,<parameter>inumber2</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMSUB</function> returns the difference of two complex numbers.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber1</parameter> or <parameter>inumber2</parameter> are not valid complex numbers, <function>IMSUB</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMSUB</function>("3-j","2+j") equals 1-2j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMSUM"><function>IMSUM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMSUM">
      <refmeta>
        <refentrytitle>
          <function>IMSUM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMSUM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMSUM</function>(<parameter>inumber1</parameter>,<parameter>inumber2</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMSUM</function> returns the sum of two complex numbers.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber1</parameter> or <parameter>inumber2</parameter> are not valid complex numbers, <function>IMSUM</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMSUM</function>("2-4j","9-j") equals 11-5j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMSUB"><function>IMSUB</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMTAN">
      <refmeta>
        <refentrytitle>
          <function>IMTAN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMTAN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMTAN</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMTAN</function> returns the tangent of a complex number.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMTAN</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMTAN</function>("2-j") equals -0.2434582-1.1667363j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMSIN"><function>IMSIN</function></link>,
        <link linkend="gnumeric-IMCOS"><function>IMCOS</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IMTANH">
      <refmeta>
        <refentrytitle>
          <function>IMTANH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IMTANH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IMTANH</function>(<parameter>inumber</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IMTANH</function> returns the complex hyperbolic tangent of the complex number z (<parameter>inumber</parameter>), where</para>
        <para>	tanh(z) = sinh(z)/cosh(z).</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>inumber</parameter> is not a valid complex number, <function>IMTANH</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IMTANH</function>("1+j") equals 1.083923+0.2717526j.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IMSINH"><function>IMSINH</function></link>,
        <link linkend="gnumeric-IMCOSH"><function>IMCOSH</function></link>.
      </para>
      </refsect1>
    </refentry>
  </sect1>
  <sect1 id="CATEGORY_Database">
    <title>Database</title>
    <refentry id="gnumeric-DAVERAGE">
      <refmeta>
        <refentrytitle>
          <function>DAVERAGE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DAVERAGE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DAVERAGE</function>(<parameter>database</parameter>,<parameter>field</parameter>,<parameter>criteria</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DAVERAGE</function> function returns the average of the values in a list or database that match conditions specified.</para>
        <para><parameter>database</parameter> is a range of cells in which rows of related information are records and columns of data are fields. The first row of a database contains labels for each column.</para>
        <para><parameter>field</parameter> specifies which column is used in the function.  If <parameter>field</parameter> is an integer, for example 2, the second column is used. Field can also be the label of a column.  For example, ``Age'' refers to the column with the label ``Age'' in <parameter>database</parameter> range.</para>
        <para><parameter>criteria</parameter> is the range of cells which contains the specified conditions.  The first row of a <parameter>criteria</parameter> should contain the labels of the fields for which the criteria are for.  Cells below the labels specify conditions, for example, ``&gt;3'' or ``&lt;9''.  Equality condition can be given simply by specifying a value, e.g. ``3'' or ``John''.</para>
        <para>Each row in <parameter>criteria</parameter> specifies a separate condition. If a row in <parameter>database</parameter> matches a row in <parameter>criteria</parameter>, then that row is counted. Technically speaking, this a boolean OR operation between the rows in <parameter>criteria</parameter>.</para>
        <para>If <parameter>criteria</parameter> specifies more than one column, then each of the conditions in the specified columns must be true for the row in <parameter>database</parameter> to match. Technically speaking, this is a boolean AND operation between the columns in <parameter>criteria</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the range A1:C7 contain the following values:</para>
        <para>Name    Age     Salary</para>
        <para>John    34      54342</para>
        <para>Bill    35      22343</para>
        <para>Clark   29      34323</para>
        <para>Bob     43      47242</para>
        <para>Susan   37      42932</para>
        <para>Jill    45      45324</para>
        <para>In addition, the cells A9:B11 contain the following values:</para>
        <para>Age     Salary</para>
        <para>&lt;30</para>
        <para>&gt;40     &gt;46000</para>
        <para><function>DAVERAGE</function>(A1:C7, "Salary", A9:A11) equals 42296.3333.</para>
        <para><function>DAVERAGE</function>(A1:C7, "Age", A9:A11) equals 39.</para>
        <para><function>DAVERAGE</function>(A1:C7, "Salary", A9:B11) equals 40782.5.</para>
        <para><function>DAVERAGE</function>(A1:C7, "Age", A9:B11) equals 36.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DCOUNT"><function>DCOUNT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DCOUNT">
      <refmeta>
        <refentrytitle>
          <function>DCOUNT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DCOUNT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DCOUNT</function>(<parameter>database</parameter>,<parameter>field</parameter>,<parameter>criteria</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DCOUNT</function> function counts the cells that contain numbers in a database that match conditions specified.</para>
        <para><parameter>database</parameter> is a range of cells in which rows of related information are records and columns of data are fields. The first row of a database contains labels for each column.</para>
        <para><parameter>field</parameter> specifies which column is used in the function.  If <parameter>field</parameter> is an integer, for example 2, the second column is used. Field can also be the label of a column.  For example, ``Age'' refers to the column with the label ``Age'' in <parameter>database</parameter> range.</para>
        <para><parameter>criteria</parameter> is the range of cells which contains the specified conditions.  The first row of a <parameter>criteria</parameter> should contain the labels of the fields for which the criteria are for.  Cells below the labels specify conditions, for example, ``&gt;3'' or ``&lt;9''.  Equality condition can be given simply by specifying a value, e.g. ``3'' or ``John''.</para>
        <para>Each row in <parameter>criteria</parameter> specifies a separate condition. If a row in <parameter>database</parameter> matches a row in <parameter>criteria</parameter>, then that row is counted. Technically speaking, this a boolean OR operation between the rows in <parameter>criteria</parameter>.</para>
        <para>If <parameter>criteria</parameter> specifies more than one column, then each of the conditions in the specified columns must be true for the row in <parameter>database</parameter> to match. Technically speaking, this is a boolean AND operation between the columns in <parameter>criteria</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the range A1:C7 contain the following values:</para>
        <para>Name    Age     Salary</para>
        <para>John    34      54342</para>
        <para>Bill    35      22343</para>
        <para>Clark   29      34323</para>
        <para>Bob     43      47242</para>
        <para>Susan   37      42932</para>
        <para>Jill    45      45324</para>
        <para>In addition, the cells A9:B11 contain the following values:</para>
        <para>Age     Salary</para>
        <para>&lt;30</para>
        <para>&gt;40     &gt;46000</para>
        <para><function>DCOUNT</function>(A1:C7, "Salary", A9:A11) equals 3.</para>
        <para><function>DCOUNT</function>(A1:C7, "Salary", A9:B11) equals 2.</para>
        <para><function>DCOUNT</function>(A1:C7, "Name", A9:B11) equals 0.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DAVERAGE"><function>DAVERAGE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DCOUNTA">
      <refmeta>
        <refentrytitle>
          <function>DCOUNTA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DCOUNTA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DCOUNTA</function>(<parameter>database</parameter>,<parameter>field</parameter>,<parameter>criteria</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DCOUNTA</function> function counts the cells that contain data in a database that match conditions specified.</para>
        <para><parameter>database</parameter> is a range of cells in which rows of related information are records and columns of data are fields. The first row of a database contains labels for each column.</para>
        <para><parameter>field</parameter> specifies which column is used in the function.  If <parameter>field</parameter> is an integer, for example 2, the second column is used. Field can also be the label of a column.  For example, ``Age'' refers to the column with the label ``Age'' in <parameter>database</parameter> range.</para>
        <para><parameter>criteria</parameter> is the range of cells which contains the specified conditions.  The first row of a <parameter>criteria</parameter> should contain the labels of the fields for which the criteria are for.  Cells below the labels specify conditions, for example, ``&gt;3'' or ``&lt;9''.  Equality condition can be given simply by specifying a value, e.g. ``3'' or ``John''.</para>
        <para>Each row in <parameter>criteria</parameter> specifies a separate condition. If a row in <parameter>database</parameter> matches a row in <parameter>criteria</parameter>, then that row is counted. Technically speaking, this a boolean OR operation between the rows in <parameter>criteria</parameter>.</para>
        <para>If <parameter>criteria</parameter> specifies more than one column, then each of the conditions in the specified columns must be true for the row in <parameter>database</parameter> to match. Technically speaking, this is a boolean AND operation between the columns in <parameter>criteria</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the range A1:C7 contain the following values:</para>
        <para>Name    Age     Salary</para>
        <para>John    34      54342</para>
        <para>Bill    35      22343</para>
        <para>Clark   29      34323</para>
        <para>Bob     43      47242</para>
        <para>Susan   37      42932</para>
        <para>Jill    45      45324</para>
        <para>In addition, the cells A9:B11 contain the following values:</para>
        <para>Age     Salary</para>
        <para>&lt;30</para>
        <para>&gt;40     &gt;46000</para>
        <para><function>DCOUNTA</function>(A1:C7, "Salary", A9:A11) equals 3.</para>
        <para><function>DCOUNTA</function>(A1:C7, "Salary", A9:B11) equals 2.</para>
        <para><function>DCOUNTA</function>(A1:C7, "Name", A9:B11) equals 2.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DCOUNT"><function>DCOUNT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DGET">
      <refmeta>
        <refentrytitle>
          <function>DGET</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DGET</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DGET</function>(<parameter>database</parameter>,<parameter>field</parameter>,<parameter>criteria</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DGET</function> function returns a single value from a column that match conditions specified.</para>
        <para><parameter>database</parameter> is a range of cells in which rows of related information are records and columns of data are fields. The first row of a database contains labels for each column.</para>
        <para><parameter>field</parameter> specifies which column is used in the function.  If <parameter>field</parameter> is an integer, for example 2, the second column is used. Field can also be the label of a column.  For example, ``Age'' refers to the column with the label ``Age'' in <parameter>database</parameter> range.</para>
        <para><parameter>criteria</parameter> is the range of cells which contains the specified conditions.  The first row of a <parameter>criteria</parameter> should contain the labels of the fields for which the criteria are for.  Cells below the labels specify conditions, for example, ``&gt;3'' or ``&lt;9''.  Equality condition can be given simply by specifying a value, e.g. ``3'' or ``John''.</para>
        <para>Each row in <parameter>criteria</parameter> specifies a separate condition. If a row in <parameter>database</parameter> matches a row in <parameter>criteria</parameter>, then that row is counted. Technically speaking, this a boolean OR operation between the rows in <parameter>criteria</parameter>.</para>
        <para>If <parameter>criteria</parameter> specifies more than one column, then each of the conditions in the specified columns must be true for the row in <parameter>database</parameter> to match. Technically speaking, this is a boolean AND operation between the columns in <parameter>criteria</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the range A1:C7 contain the following values:</para>
        <para>Name    Age     Salary</para>
        <para>John    34      54342</para>
        <para>Bill    35      22343</para>
        <para>Clark   29      34323</para>
        <para>Bob     43      47242</para>
        <para>Susan   37      42932</para>
        <para>Jill    45      45324</para>
        <para>In addition, the cells A9:B11 contain the following values:</para>
        <para>Age     Salary</para>
        <para>&lt;30</para>
        <para>&gt;40     &gt;46000</para>
        <itemizedlist>
          <listitem>
            <para>If none of the items match the conditions, <function>DGET</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>If more than one items match the conditions, <function>DGET</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
        <para><function>DGET</function>(A1:C7, "Salary", A9:A10) equals 34323.</para>
        <para><function>DGET</function>(A1:C7, "Name", A9:A10) equals "Clark".</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DCOUNT"><function>DCOUNT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DMAX">
      <refmeta>
        <refentrytitle>
          <function>DMAX</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DMAX</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DMAX</function>(<parameter>database</parameter>,<parameter>field</parameter>,<parameter>criteria</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DMAX</function> function returns the largest number in a column that match conditions specified.</para>
        <para><parameter>database</parameter> is a range of cells in which rows of related information are records and columns of data are fields. The first row of a database contains labels for each column.</para>
        <para><parameter>field</parameter> specifies which column is used in the function.  If <parameter>field</parameter> is an integer, for example 2, the second column is used. Field can also be the label of a column.  For example, ``Age'' refers to the column with the label ``Age'' in <parameter>database</parameter> range.</para>
        <para><parameter>criteria</parameter> is the range of cells which contains the specified conditions.  The first row of a <parameter>criteria</parameter> should contain the labels of the fields for which the criteria are for.  Cells below the labels specify conditions, for example, ``&gt;3'' or ``&lt;9''.  Equality condition can be given simply by specifying a value, e.g. ``3'' or ``John''.</para>
        <para>Each row in <parameter>criteria</parameter> specifies a separate condition. If a row in <parameter>database</parameter> matches a row in <parameter>criteria</parameter>, then that row is counted. Technically speaking, this a boolean OR operation between the rows in <parameter>criteria</parameter>.</para>
        <para>If <parameter>criteria</parameter> specifies more than one column, then each of the conditions in the specified columns must be true for the row in <parameter>database</parameter> to match. Technically speaking, this is a boolean AND operation between the columns in <parameter>criteria</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the range A1:C7 contain the following values:</para>
        <para>Name    Age     Salary</para>
        <para>John    34      54342</para>
        <para>Bill    35      22343</para>
        <para>Clark   29      34323</para>
        <para>Bob     43      47242</para>
        <para>Susan   37      42932</para>
        <para>Jill    45      45324</para>
        <para>In addition, the cells A9:B11 contain the following values:</para>
        <para>Age     Salary</para>
        <para>&lt;30</para>
        <para>&gt;40     &gt;46000</para>
        <para><function>DMAX</function>(A1:C7, "Salary", A9:A11) equals 47242.</para>
        <para><function>DMAX</function>(A1:C7, "Age", A9:A11) equals 45.</para>
        <para><function>DMAX</function>(A1:C7, "Age", A9:B11) equals 43.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DMIN"><function>DMIN</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DMIN">
      <refmeta>
        <refentrytitle>
          <function>DMIN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DMIN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DMIN</function>(<parameter>database</parameter>,<parameter>field</parameter>,<parameter>criteria</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DMIN</function> function returns the smallest number in a column that match conditions specified.</para>
        <para><parameter>database</parameter> is a range of cells in which rows of related information are records and columns of data are fields. The first row of a database contains labels for each column.</para>
        <para><parameter>field</parameter> specifies which column is used in the function.  If <parameter>field</parameter> is an integer, for example 2, the second column is used. Field can also be the label of a column.  For example, ``Age'' refers to the column with the label ``Age'' in <parameter>database</parameter> range.</para>
        <para><parameter>criteria</parameter> is the range of cells which contains the specified conditions.  The first row of a <parameter>criteria</parameter> should contain the labels of the fields for which the criteria are for.  Cells below the labels specify conditions, for example, ``&gt;3'' or ``&lt;9''.  Equality condition can be given simply by specifying a value, e.g. ``3'' or ``John''.</para>
        <para>Each row in <parameter>criteria</parameter> specifies a separate condition. If a row in <parameter>database</parameter> matches a row in <parameter>criteria</parameter>, then that row is counted. Technically speaking, this a boolean OR operation between the rows in <parameter>criteria</parameter>.</para>
        <para>If <parameter>criteria</parameter> specifies more than one column, then each of the conditions in the specified columns must be true for the row in <parameter>database</parameter> to match. Technically speaking, this is a boolean AND operation between the columns in <parameter>criteria</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the range A1:C7 contain the following values:</para>
        <para>Name    Age     Salary</para>
        <para>John    34      54342</para>
        <para>Bill    35      22343</para>
        <para>Clark   29      34323</para>
        <para>Bob     43      47242</para>
        <para>Susan   37      42932</para>
        <para>Jill    45      45324</para>
        <para>In addition, the cells A9:B11 contain the following values:</para>
        <para>Age     Salary</para>
        <para>&lt;30</para>
        <para>&gt;40     &gt;46000</para>
        <para><function>DMIN</function>(A1:C7, "Salary", A9:B11) equals 34323.</para>
        <para><function>DMIN</function>(A1:C7, "Age", A9:B11) equals 29.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DMAX"><function>DMAX</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DPRODUCT">
      <refmeta>
        <refentrytitle>
          <function>DPRODUCT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DPRODUCT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DPRODUCT</function>(<parameter>database</parameter>,<parameter>field</parameter>,<parameter>criteria</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DPRODUCT</function> function returns the product of numbers in a column that match conditions specified.</para>
        <para><parameter>database</parameter> is a range of cells in which rows of related information are records and columns of data are fields. The first row of a database contains labels for each column.</para>
        <para><parameter>field</parameter> specifies which column is used in the function.  If <parameter>field</parameter> is an integer, for example 2, the second column is used. Field can also be the label of a column.  For example, ``Age'' refers to the column with the label ``Age'' in <parameter>database</parameter> range.</para>
        <para><parameter>criteria</parameter> is the range of cells which contains the specified conditions.  The first row of a <parameter>criteria</parameter> should contain the labels of the fields for which the criteria are for.  Cells below the labels specify conditions, for example, ``&gt;3'' or ``&lt;9''.  Equality condition can be given simply by specifying a value, e.g. ``3'' or ``John''.</para>
        <para>Each row in <parameter>criteria</parameter> specifies a separate condition. If a row in <parameter>database</parameter> matches a row in <parameter>criteria</parameter>, then that row is counted. Technically speaking, this a boolean OR operation between the rows in <parameter>criteria</parameter>.</para>
        <para>If <parameter>criteria</parameter> specifies more than one column, then each of the conditions in the specified columns must be true for the row in <parameter>database</parameter> to match. Technically speaking, this is a boolean AND operation between the columns in <parameter>criteria</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the range A1:C7 contain the following values:</para>
        <para>Name    Age     Salary</para>
        <para>John    34      54342</para>
        <para>Bill    35      22343</para>
        <para>Clark   29      34323</para>
        <para>Bob     43      47242</para>
        <para>Susan   37      42932</para>
        <para>Jill    45      45324</para>
        <para>In addition, the cells A9:B11 contain the following values:</para>
        <para>Age     Salary</para>
        <para>&lt;30</para>
        <para>&gt;40     &gt;46000</para>
        <para><function>DPRODUCT</function>(A1:C7, "Age", A9:B11) equals 1247.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DSUM"><function>DSUM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DSTDEV">
      <refmeta>
        <refentrytitle>
          <function>DSTDEV</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DSTDEV</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DSTDEV</function>(<parameter>database</parameter>,<parameter>field</parameter>,<parameter>criteria</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DSTDEV</function> function returns the estimate of the standard deviation of a population based on a sample. The population consists of numbers that match conditions specified.</para>
        <para><parameter>database</parameter> is a range of cells in which rows of related information are records and columns of data are fields. The first row of a database contains labels for each column.</para>
        <para><parameter>field</parameter> specifies which column is used in the function.  If <parameter>field</parameter> is an integer, for example 2, the second column is used. Field can also be the label of a column.  For example, ``Age'' refers to the column with the label ``Age'' in <parameter>database</parameter> range.</para>
        <para><parameter>criteria</parameter> is the range of cells which contains the specified conditions.  The first row of a <parameter>criteria</parameter> should contain the labels of the fields for which the criteria are for.  Cells below the labels specify conditions, for example, ``&gt;3'' or ``&lt;9''.  Equality condition can be given simply by specifying a value, e.g. ``3'' or ``John''.</para>
        <para>Each row in <parameter>criteria</parameter> specifies a separate condition. If a row in <parameter>database</parameter> matches a row in <parameter>criteria</parameter>, then that row is counted. Technically speaking, this a boolean OR operation between the rows in <parameter>criteria</parameter>.</para>
        <para>If <parameter>criteria</parameter> specifies more than one column, then each of the conditions in the specified columns must be true for the row in <parameter>database</parameter> to match. Technically speaking, this is a boolean AND operation between the columns in <parameter>criteria</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the range A1:C7 contain the following values:</para>
        <para>Name    Age     Salary</para>
        <para>John    34      54342</para>
        <para>Bill    35      22343</para>
        <para>Clark   29      34323</para>
        <para>Bob     43      47242</para>
        <para>Susan   37      42932</para>
        <para>Jill    45      45324</para>
        <para>In addition, the cells A9:B11 contain the following values:</para>
        <para>Age     Salary</para>
        <para>&lt;30</para>
        <para>&gt;40     &gt;46000</para>
        <para><function>DSTDEV</function>(A1:C7, "Age", A9:B11) equals 9.89949.</para>
        <para><function>DSTDEV</function>(A1:C7, "Salary", A9:B11) equals 9135.112506.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DSTDEVP"><function>DSTDEVP</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DSTDEVP">
      <refmeta>
        <refentrytitle>
          <function>DSTDEVP</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DSTDEVP</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DSTDEVP</function>(<parameter>database</parameter>,<parameter>field</parameter>,<parameter>criteria</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DSTDEVP</function> function returns the standard deviation of a population based on the entire population. The population consists of numbers that match conditions specified.</para>
        <para><parameter>database</parameter> is a range of cells in which rows of related information are records and columns of data are fields. The first row of a database contains labels for each column.</para>
        <para><parameter>field</parameter> specifies which column is used in the function.  If <parameter>field</parameter> is an integer, for example 2, the second column is used. Field can also be the label of a column.  For example, ``Age'' refers to the column with the label ``Age'' in <parameter>database</parameter> range.</para>
        <para><parameter>criteria</parameter> is the range of cells which contains the specified conditions.  The first row of a <parameter>criteria</parameter> should contain the labels of the fields for which the criteria are for.  Cells below the labels specify conditions, for example, ``&gt;3'' or ``&lt;9''.  Equality condition can be given simply by specifying a value, e.g. ``3'' or ``John''.</para>
        <para>Each row in <parameter>criteria</parameter> specifies a separate condition. If a row in <parameter>database</parameter> matches a row in <parameter>criteria</parameter>, then that row is counted. Technically speaking, this a boolean OR operation between the rows in <parameter>criteria</parameter>.</para>
        <para>If <parameter>criteria</parameter> specifies more than one column, then each of the conditions in the specified columns must be true for the row in <parameter>database</parameter> to match. Technically speaking, this is a boolean AND operation between the columns in <parameter>criteria</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the range A1:C7 contain the following values:</para>
        <para>Name    Age     Salary</para>
        <para>John    34      54342</para>
        <para>Bill    35      22343</para>
        <para>Clark   29      34323</para>
        <para>Bob     43      47242</para>
        <para>Susan   37      42932</para>
        <para>Jill    45      45324</para>
        <para>In addition, the cells A9:B11 contain the following values:</para>
        <para>Age     Salary</para>
        <para>&lt;30</para>
        <para>&gt;40     &gt;46000</para>
        <para><function>DSTDEVP</function>(A1:C7, "Age", A9:B11) equals 7.</para>
        <para><function>DSTDEVP</function>(A1:C7, "Salary", A9:B11) equals 6459.5.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DSTDEV"><function>DSTDEV</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DSUM">
      <refmeta>
        <refentrytitle>
          <function>DSUM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DSUM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DSUM</function>(<parameter>database</parameter>,<parameter>field</parameter>,<parameter>criteria</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DSUM</function> function returns the sum of numbers in a column that match conditions specified.</para>
        <para><parameter>database</parameter> is a range of cells in which rows of related information are records and columns of data are fields. The first row of a database contains labels for each column.</para>
        <para><parameter>field</parameter> specifies which column is used in the function.  If <parameter>field</parameter> is an integer, for example 2, the second column is used. Field can also be the label of a column.  For example, ``Age'' refers to the column with the label ``Age'' in <parameter>database</parameter> range.</para>
        <para><parameter>criteria</parameter> is the range of cells which contains the specified conditions.  The first row of a <parameter>criteria</parameter> should contain the labels of the fields for which the criteria are for.  Cells below the labels specify conditions, for example, ``&gt;3'' or ``&lt;9''.  Equality condition can be given simply by specifying a value, e.g. ``3'' or ``John''.</para>
        <para>Each row in <parameter>criteria</parameter> specifies a separate condition. If a row in <parameter>database</parameter> matches a row in <parameter>criteria</parameter>, then that row is counted. Technically speaking, this a boolean OR operation between the rows in <parameter>criteria</parameter>.</para>
        <para>If <parameter>criteria</parameter> specifies more than one column, then each of the conditions in the specified columns must be true for the row in <parameter>database</parameter> to match. Technically speaking, this is a boolean AND operation between the columns in <parameter>criteria</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the range A1:C7 contain the following values:</para>
        <para>Name    Age     Salary</para>
        <para>John    34      54342</para>
        <para>Bill    35      22343</para>
        <para>Clark   29      34323</para>
        <para>Bob     43      47242</para>
        <para>Susan   37      42932</para>
        <para>Jill    45      45324</para>
        <para>In addition, the cells A9:B11 contain the following values:</para>
        <para>Age     Salary</para>
        <para>&lt;30</para>
        <para>&gt;40     &gt;46000</para>
        <para><function>DSUM</function>(A1:C7, "Age", A9:B11) equals 72.</para>
        <para><function>DSUM</function>(A1:C7, "Salary", A9:B11) equals 81565.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DPRODUCT"><function>DPRODUCT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DVAR">
      <refmeta>
        <refentrytitle>
          <function>DVAR</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DVAR</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DVAR</function>(<parameter>database</parameter>,<parameter>field</parameter>,<parameter>criteria</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DVAR</function> function returns the estimate of variance of a population based on a sample. The population consists of numbers that match conditions specified.</para>
        <para><parameter>database</parameter> is a range of cells in which rows of related information are records and columns of data are fields. The first row of a database contains labels for each column.</para>
        <para><parameter>field</parameter> specifies which column is used in the function.  If <parameter>field</parameter> is an integer, for example 2, the second column is used. Field can also be the label of a column.  For example, ``Age'' refers to the column with the label ``Age'' in <parameter>database</parameter> range.</para>
        <para><parameter>criteria</parameter> is the range of cells which contains the specified conditions.  The first row of a <parameter>criteria</parameter> should contain the labels of the fields for which the criteria are for.  Cells below the labels specify conditions, for example, ``&gt;3'' or ``&lt;9''.  Equality condition can be given simply by specifying a value, e.g. ``3'' or ``John''.</para>
        <para>Each row in <parameter>criteria</parameter> specifies a separate condition. If a row in <parameter>database</parameter> matches a row in <parameter>criteria</parameter>, then that row is counted. Technically speaking, this a boolean OR operation between the rows in <parameter>criteria</parameter>.</para>
        <para>If <parameter>criteria</parameter> specifies more than one column, then each of the conditions in the specified columns must be true for the row in <parameter>database</parameter> to match. Technically speaking, this is a boolean AND operation between the columns in <parameter>criteria</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the range A1:C7 contain the following values:</para>
        <para>Name    Age     Salary</para>
        <para>John    34      54342</para>
        <para>Bill    35      22343</para>
        <para>Clark   29      34323</para>
        <para>Bob     43      47242</para>
        <para>Susan   37      42932</para>
        <para>Jill    45      45324</para>
        <para>In addition, the cells A9:B11 contain the following values:</para>
        <para>Age     Salary</para>
        <para>&lt;30</para>
        <para>&gt;40     &gt;46000</para>
        <para><function>DVAR</function>(A1:C7, "Age", A9:B11) equals 98.</para>
        <para><function>DVAR</function>(A1:C7, "Salary", A9:B11) equals 83450280.5.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DVARP"><function>DVARP</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DVARP">
      <refmeta>
        <refentrytitle>
          <function>DVARP</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DVARP</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DVARP</function>(<parameter>database</parameter>,<parameter>field</parameter>,<parameter>criteria</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DVARP</function> function returns the variance of a population based on the entire population. The population consists of numbers that match conditions specified.</para>
        <para><parameter>database</parameter> is a range of cells in which rows of related information are records and columns of data are fields. The first row of a database contains labels for each column.</para>
        <para><parameter>field</parameter> specifies which column is used in the function.  If <parameter>field</parameter> is an integer, for example 2, the second column is used. Field can also be the label of a column.  For example, ``Age'' refers to the column with the label ``Age'' in <parameter>database</parameter> range.</para>
        <para><parameter>criteria</parameter> is the range of cells which contains the specified conditions.  The first row of a <parameter>criteria</parameter> should contain the labels of the fields for which the criteria are for.  Cells below the labels specify conditions, for example, ``&gt;3'' or ``&lt;9''.  Equality condition can be given simply by specifying a value, e.g. ``3'' or ``John''.</para>
        <para>Each row in <parameter>criteria</parameter> specifies a separate condition. If a row in <parameter>database</parameter> matches a row in <parameter>criteria</parameter>, then that row is counted. Technically speaking, this a boolean OR operation between the rows in <parameter>criteria</parameter>.</para>
        <para>If <parameter>criteria</parameter> specifies more than one column, then each of the conditions in the specified columns must be true for the row in <parameter>database</parameter> to match. Technically speaking, this is a boolean AND operation between the columns in <parameter>criteria</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the range A1:C7 contain the following values:</para>
        <para>Name    Age     Salary</para>
        <para>John    34      54342</para>
        <para>Bill    35      22343</para>
        <para>Clark   29      34323</para>
        <para>Bob     43      47242</para>
        <para>Susan   37      42932</para>
        <para>Jill    45      45324</para>
        <para>In addition, the cells A9:B11 contain the following values:</para>
        <para>Age     Salary</para>
        <para>&lt;30</para>
        <para>&gt;40     &gt;46000</para>
        <para><function>DVARP</function>(A1:C7, "Age", A9:B11) equals 49.</para>
        <para><function>DVARP</function>(A1:C7, "Salary", A9:B11) equals 41725140.25.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DVAR"><function>DVAR</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-GETPIVOTDATA">
      <refmeta>
        <refentrytitle>
          <function>GETPIVOTDATA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>GETPIVOTDATA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>GETPIVOTDATA</function>(<parameter>pivot_table</parameter>,<parameter>field_name</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>GETPIVOTDATA</function> function fetches summary data from a pivot table. <parameter>pivot_table</parameter> is a cell range containing the pivot table. <parameter>field_name</parameter> is the name of the field of which you want the summary data.</para>
        <itemizedlist>
          <listitem>
            <para>If the summary data is unavailable, <function>GETPIVOTDATA</function> returns #REF! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
  </sect1>
  <sect1 id="CATEGORY_DateTime">
    <title>Date/Time</title>
    <refentry id="gnumeric-DATE">
      <refmeta>
        <refentrytitle>
          <function>DATE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DATE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DATE</function> (<parameter>year</parameter>,<parameter>month</parameter>,<parameter>day</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DATE</function> returns the number of days since the 1st of January of 1900(the date serial number) for the given year, month and day.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>month</parameter> &lt; 1 or <parameter>month</parameter> &gt; 12, the year will be corrected.  A similar correction takes place for days.</para>
          </listitem>
          <listitem>
            <para>The <parameter>years</parameter> should be at least 1900.  If <parameter>years</parameter> &lt; 1900, it is assumed to be 1900 + <parameter>years</parameter>.</para>
          </listitem>
          <listitem>
            <para>If the given date is not valid, <function>DATE</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>DATE</function>(2001, 3, 30) returns 'Mar 30, 2001'.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-TODAY"><function>TODAY</function></link>,
        <link linkend="gnumeric-NOW"><function>NOW</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DATE2UNIX">
      <refmeta>
        <refentrytitle>
          <function>DATE2UNIX</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DATE2UNIX</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DATE2UNIX</function>(<parameter>serial</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DATE2UNIX</function> converts a spreadsheet date and time serial number into a unix time.</para>
        <para>A unix time is the number of seconds since midnight January 1, 1970.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>DATE2UNIX</function>("01/01/2000") equals 946656000.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-NOW"><function>NOW</function></link>,
        <link linkend="gnumeric-DATE"><function>DATE</function></link>,
        <link linkend="gnumeric-UNIX2DATE"><function>UNIX2DATE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DATEDIF">
      <refmeta>
        <refentrytitle>
          <function>DATEDIF</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DATEDIF</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DATEDIF</function>(<parameter>date1</parameter>,<parameter>date2</parameter>,<parameter>interval</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DATEDIF</function> returns the difference between two dates.  <parameter>interval</parameter> is one of six possible values:  "y", "m", "d", "ym", "md", and "yd".</para>
        <para>The first three options will return the number of complete years, months, or days, respectively, between the two dates specified.</para>
        <para>  "ym" will return the number of full months between the two dates, not including the difference in years.</para>
        <para>  "md" will return the number of full days between the two dates, not including the difference in months.</para>
        <para>  "yd" will return the number of full days between the two dates, not including the difference in years.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>DATEDIF</function>(DATE(2000,4,30),DATE(2003,8,4),"d") equals 1191.</para>
        <para><function>DATEDIF</function>(DATE(2000,4,30),DATE(2003,8,4),"y") equals 3.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DATE"><function>DATE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DATEVALUE">
      <refmeta>
        <refentrytitle>
          <function>DATEVALUE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DATEVALUE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DATEVALUE</function>(<parameter>date_str</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DATEVALUE</function> returns the serial number of the date.  <parameter>date_str</parameter> is the string that contains the date. The value depends on the date convention.  The MS Excel 1900 convention dates things from Jan 1 1900 while the 1904 convention uses Jan 1 1904.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>DATEVALUE</function>("1/1/1999") equals 36161 (in the 1900 convention).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DATE"><function>DATE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DAY">
      <refmeta>
        <refentrytitle>
          <function>DAY</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DAY</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DAY</function> (<parameter>date</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DAY</function> converts a serial number to a day of month.</para>
        <itemizedlist>
          <listitem>
            <para>Note that Gnumeric will perform regular string to serial number conversion for you, so you can enter a date as a string.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>DAY</function>("10/24/1968") equals 24.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-MONTH"><function>MONTH</function></link>,
        <link linkend="gnumeric-TIME"><function>TIME</function></link>,
        <link linkend="gnumeric-NOW"><function>NOW</function></link>,
        <link linkend="gnumeric-YEAR"><function>YEAR</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DAYS360">
      <refmeta>
        <refentrytitle>
          <function>DAYS360</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DAYS360</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DAYS360</function> (<parameter>date1</parameter>,<parameter>date2</parameter>,<parameter>method</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DAYS360</function> returns the number of days from <parameter>date1</parameter> to <parameter>date2</parameter> following a 360-day calendar in which all months are assumed to have 30 days.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>method</parameter> is 1, the European method will be used.  In this case, if the day of the month is 31 it will be considered as 30.</para>
          </listitem>
          <listitem>
            <para>If <parameter>method</parameter> is 0 or omitted, the MS Excel (tm) US method will be used.  This is a somewhat complicated industry standard method where the last day of February is considered to be the 30th day of the month, but only for the first date.</para>
          </listitem>
          <listitem>
            <para>If <parameter>method</parameter> is 2, a saner version of the US method is used in which both dates get the same February treatment.</para>
          </listitem>
          <listitem>
            <para>Note that Gnumeric will perform regular string to serial number conversion for you, so you can enter a date as a string.</para>
          </listitem>
          <listitem>
            <para>This function is mostly Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>DAYS360</function>(DATE(2003, 2, 3), DATE(2007, 4, 2)) equals 1499.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-MONTH"><function>MONTH</function></link>,
        <link linkend="gnumeric-TIME"><function>TIME</function></link>,
        <link linkend="gnumeric-NOW"><function>NOW</function></link>,
        <link linkend="gnumeric-YEAR"><function>YEAR</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-EDATE">
      <refmeta>
        <refentrytitle>
          <function>EDATE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>EDATE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>EDATE</function>(<parameter>date</parameter>,<parameter>months</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>EDATE</function> returns the serial number of the date that is the specified number of months before or after a given date.  <parameter>date</parameter> is the serial number of the initial date and <parameter>months</parameter> is the number of months before (negative number) or after (positive number) the initial date.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>months</parameter> is not an integer, it is truncated.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>EDATE</function>(DATE(2001,12,30),2) returns 'Feb 28, 2002'.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DATE"><function>DATE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-EOMONTH">
      <refmeta>
        <refentrytitle>
          <function>EOMONTH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>EOMONTH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>EOMONTH</function> (<parameter>start_date</parameter>,<parameter>months</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>EOMONTH</function> returns the last day of the month which is <parameter>months</parameter> from the <parameter>start_date</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para><function>EOMONTH</function> returns #NUM! if <parameter>start_date</parameter> or <parameter>months</parameter> are invalid.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>If A1 contains 12/21/00 then <function>EOMONTH</function>(A1,0)=12/31/00, <function>EOMONTH</function>(A1,5)=5/31/01, and <function>EOMONTH</function>(A1,2)=2/28/01</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-MONTH"><function>MONTH</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-HOUR">
      <refmeta>
        <refentrytitle>
          <function>HOUR</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>HOUR</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>HOUR</function> (<parameter>date</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>HOUR</function> converts a serial number to an hour.  The hour is returned as an integer in the range 0 (12:00 A.M.) to 23 (11:00 P.M.).</para>
        <itemizedlist>
          <listitem>
            <para>Note that Gnumeric will perform regular string to serial number conversion for you, so you can enter a date as a string.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>HOUR</function>(0.128472) equals 3.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-MINUTE"><function>MINUTE</function></link>,
        <link linkend="gnumeric-NOW"><function>NOW</function></link>,
        <link linkend="gnumeric-TIME"><function>TIME</function></link>,
        <link linkend="gnumeric-SECOND"><function>SECOND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ISOWEEKNUM">
      <refmeta>
        <refentrytitle>
          <function>ISOWEEKNUM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ISOWEEKNUM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ISOWEEKNUM</function> (<parameter>date</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ISOWEEKNUM</function> returns the ISO 8601 week number of <parameter>date</parameter>.</para>
        <para>An ISO 8601 week starts on Monday. Weeks are numbered from 1. A week including days from two different years is assigned to the year which includes the most days. This means that Dec 31 could be in week 1 of the following year, and Jan 1 could be in week 52 or 53 of the previous year. <function>ISOWEEKNUM</function> returns the week number.</para>
        <itemizedlist>
          <listitem>
            <para><function>ISOWEEKNUM</function> returns #NUM! if date is invalid.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>If A1 contains 12/21/00 then <function>ISOWEEKNUM</function>(A1)=51</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-WEEKNUM"><function>WEEKNUM</function></link>,
        <link linkend="gnumeric-ISOYEAR"><function>ISOYEAR</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ISOYEAR">
      <refmeta>
        <refentrytitle>
          <function>ISOYEAR</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ISOYEAR</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ISOYEAR</function> (<parameter>date</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ISOYEAR</function> returns the year of the ISO 8601 week number of <parameter>date</parameter>.</para>
        <para>An ISO 8601 week starts on Monday. Weeks are numbered from 1. A week including days from two different years is assigned to the year which includes the most days. This means that Dec 31 could be in week 1 of the following year, and Jan 1 could be in week 52 or 53 of the previous year. <function>ISOYEAR</function> returns the year the week is assigned to.</para>
        <itemizedlist>
          <listitem>
            <para><function>ISOYEAR</function> returns #NUM! if date is invalid.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>If A1 contains 12/31/2001 then <function>ISOYEAR</function>(A1)=2002</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ISOWEEKNUM"><function>ISOWEEKNUM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-MINUTE">
      <refmeta>
        <refentrytitle>
          <function>MINUTE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>MINUTE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>MINUTE</function> (<parameter>date</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>MINUTE</function> converts a serial number to a minute.  The minute is returned as an integer in the range 0 to 59.</para>
        <itemizedlist>
          <listitem>
            <para>Note that Gnumeric will perform regular string to serial number conversion for you, so you can enter a date as a string.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>MINUTE</function>(0.128472) equals 5.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-HOUR"><function>HOUR</function></link>,
        <link linkend="gnumeric-NOW"><function>NOW</function></link>,
        <link linkend="gnumeric-TIME"><function>TIME</function></link>,
        <link linkend="gnumeric-SECOND"><function>SECOND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-MONTH">
      <refmeta>
        <refentrytitle>
          <function>MONTH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>MONTH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>MONTH</function> (<parameter>date</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>MONTH</function> converts a serial number to a month.</para>
        <itemizedlist>
          <listitem>
            <para>Note that Gnumeric will perform regular string to serial number conversion for you, so you can enter a date as a string.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>MONTH</function>(DATE(2003, 4, 30)) equals 4.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DAY"><function>DAY</function></link>,
        <link linkend="gnumeric-TIME"><function>TIME</function></link>,
        <link linkend="gnumeric-NOW"><function>NOW</function></link>,
        <link linkend="gnumeric-YEAR"><function>YEAR</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-NETWORKDAYS">
      <refmeta>
        <refentrytitle>
          <function>NETWORKDAYS</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>NETWORKDAYS</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>NETWORKDAYS</function> (<parameter>start_date</parameter>,<parameter>end_date</parameter>[,<parameter>holidays</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>NETWORKDAYS</function> returns the number of non-weekend non-holidays between <parameter>start_date</parameter> and <parameter>end_date</parameter> including these dates. Holidays are optionally supplied in <parameter>holidays</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para><function>NETWORKDAYS</function> returns #NUM! if <parameter>start_date</parameter> or <parameter>end_date</parameter> are invalid.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>NETWORKDAYS</function>(DATE(2001,1,2),DATE(2001,2,15)) equals 33.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-WORKDAY"><function>WORKDAY</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-NOW">
      <refmeta>
        <refentrytitle>
          <function>NOW</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>NOW</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>NOW</function> (<parameter/>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>NOW</function> returns the serial number for the date and time at the time it is evaluated.</para>
        <para>Serial Numbers in Gnumeric are represented as follows: The integral part is the number of days since the 1st of January of 1900.  The decimal part represent the fraction of the day and is mapped into hour, minutes and seconds.</para>
        <para>For example: .0 represents the beginning of the day, and 0.5 represents noon.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>NOW</function>().</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-TODAY"><function>TODAY</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-SECOND">
      <refmeta>
        <refentrytitle>
          <function>SECOND</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>SECOND</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>SECOND</function> (<parameter>date</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>SECOND</function> converts a serial number to a second.  The second is returned as an integer in the range 0 to 59.</para>
        <itemizedlist>
          <listitem>
            <para>Note that Gnumeric will perform regular string to serial number conversion for you, so you can enter a date as a string.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>SECOND</function>(0.600613) equals 53.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-HOUR"><function>HOUR</function></link>,
        <link linkend="gnumeric-MINUTE"><function>MINUTE</function></link>,
        <link linkend="gnumeric-NOW"><function>NOW</function></link>,
        <link linkend="gnumeric-TIME"><function>TIME</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-TIME">
      <refmeta>
        <refentrytitle>
          <function>TIME</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>TIME</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>TIME</function> (<parameter>hours</parameter>,<parameter>minutes</parameter>,<parameter>seconds</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>TIME</function> returns a fraction representing the time of day.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>TIME</function>(3, 5, 23) equals 3:05AM.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-HOUR"><function>HOUR</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-TIMEVALUE">
      <refmeta>
        <refentrytitle>
          <function>TIMEVALUE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>TIMEVALUE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>TIMEVALUE</function> (<parameter>timetext</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>TIMEVALUE</function> returns a fraction representing the time of day, a number between 0 and 1.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>TIMEVALUE</function>("3:05") equals 0.128472.</para>
        <para><function>TIMEVALUE</function>("2:24:53 PM") equals 0.600613.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-HOUR"><function>HOUR</function></link>,
        <link linkend="gnumeric-MINUTE"><function>MINUTE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-TODAY">
      <refmeta>
        <refentrytitle>
          <function>TODAY</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>TODAY</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>TODAY</function>(<parameter/>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>TODAY</function> returns the serial number for today (the number of days elapsed since the 1st of January of 1900).</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>TODAY</function>() returns 'Nov 6, 2001' on that particular day.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-NOW"><function>NOW</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-UNIX2DATE">
      <refmeta>
        <refentrytitle>
          <function>UNIX2DATE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>UNIX2DATE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>UNIX2DATE</function>(<parameter>unixtime</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>UNIX2DATE</function> converts a unix time into a spreadsheet date and time.</para>
        <para>A unix time is the number of seconds since midnight January 1, 1970.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-NOW"><function>NOW</function></link>,
        <link linkend="gnumeric-DATE"><function>DATE</function></link>,
        <link linkend="gnumeric-DATE2UNIX"><function>DATE2UNIX</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-WEEKDAY">
      <refmeta>
        <refentrytitle>
          <function>WEEKDAY</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>WEEKDAY</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>WEEKDAY</function> (<parameter>date</parameter>[,<parameter/> method])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>WEEKDAY</function> converts a serial number to a weekday.</para>
        <para>This function returns an integer indicating the day of week.</para>
        <para><parameter>METHOD</parameter> indicates the numbering system.  It defaults to 1.</para>
        <para>  For <parameter>METHOD</parameter>=1: Sunday is 1, Monday is 2, etc.</para>
        <para>  For <parameter>METHOD</parameter>=2: Monday is 1, Tuesday is 2, etc.</para>
        <para>  For <parameter>METHOD</parameter>=3: Monday is 0, Tuesday is 1, etc.</para>
        <itemizedlist>
          <listitem>
            <para>Note that Gnumeric will perform regular string to serial number conversion for you, so you can enter a date as a string.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>WEEKDAY</function>("10/24/1968") equals 5 (Thursday).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DAY"><function>DAY</function></link>,
        <link linkend="gnumeric-MONTH"><function>MONTH</function></link>,
        <link linkend="gnumeric-TIME"><function>TIME</function></link>,
        <link linkend="gnumeric-NOW"><function>NOW</function></link>,
        <link linkend="gnumeric-YEAR"><function>YEAR</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-WEEKNUM">
      <refmeta>
        <refentrytitle>
          <function>WEEKNUM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>WEEKNUM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>WEEKNUM</function> (<parameter>date</parameter>[,<parameter>method</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>WEEKNUM</function> returns the week number of <parameter>date</parameter> according to the given <parameter>method</parameter>.</para>
        <para><parameter>method</parameter> defaults to 1.</para>
        <para>  For <parameter>method</parameter>=1, week starts on Sunday, and days before first Sunday are in week 0.</para>
        <para>  For <parameter>method</parameter>=2, week starts on Monday, and days before first Monday are in week 0.</para>
        <para>  For <parameter>method</parameter>=150, the ISO 8601 week number is returned.</para>
        <itemizedlist>
          <listitem>
            <para><function>WEEKNUM</function> returns #NUM! if <parameter>date</parameter> or <parameter>method</parameter> is invalid.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible, except that Excel does not support ISO 8601 week numbers.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>If A1 contains 12/21/00 then <function>WEEKNUM</function>(A1,2)=51</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ISOWEEKNUM"><function>ISOWEEKNUM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-WORKDAY">
      <refmeta>
        <refentrytitle>
          <function>WORKDAY</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>WORKDAY</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>WORKDAY</function> (<parameter>start_date</parameter>,<parameter>days</parameter>[,<parameter>holidays</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>WORKDAY</function> returns the date which is <parameter>days</parameter> working days from the <parameter>start_date</parameter>.  Weekends and holidays optionally supplied in <parameter>holidays</parameter> are respected.</para>
        <itemizedlist>
          <listitem>
            <para><function>WORKDAY</function> returns #NUM! if <parameter>start_date</parameter> or <parameter>days</parameter> are invalid.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>DAY(<function>WORKDAY</function>(DATE(2001,1,5),30)) equals 16 and</para>
        <para>MONTH(<function>WORKDAY</function>(DATE(2001,1,5),30)) equals 2.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-NETWORKDAYS"><function>NETWORKDAYS</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-YEAR">
      <refmeta>
        <refentrytitle>
          <function>YEAR</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>YEAR</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>YEAR</function> (<parameter>date</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>YEAR</function> converts a serial number to a year.</para>
        <itemizedlist>
          <listitem>
            <para>Note that Gnumeric will perform regular string to serial number conversion for you, so you can enter a date as a string.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>YEAR</function>(DATE(2003, 4, 30)) equals 2003.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DAY"><function>DAY</function></link>,
        <link linkend="gnumeric-MONTH"><function>MONTH</function></link>,
        <link linkend="gnumeric-TIME"><function>TIME</function></link>,
        <link linkend="gnumeric-NOW"><function>NOW</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-YEARFRAC">
      <refmeta>
        <refentrytitle>
          <function>YEARFRAC</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>YEARFRAC</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>YEARFRAC</function> (<parameter>start_date</parameter>,<parameter/> end_date [,<parameter>basis</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>YEARFRAC</function> returns the number of full days between <parameter>start_date</parameter> and <parameter>end_date</parameter> according to the <parameter>basis</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DATEDIF"><function>DATEDIF</function></link>.
      </para>
      </refsect1>
    </refentry>
  </sect1>
  <sect1 id="CATEGORY_Engineering">
    <title>Engineering</title>
    <refentry id="gnumeric-BASE">
      <refmeta>
        <refentrytitle>
          <function>BASE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>BASE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>BASE</function>(<parameter>number</parameter>,<parameter>base</parameter>[,<parameter>length</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>BASE</function> function converts a number to a string representing that number in base <parameter>base</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para><parameter>base</parameter> must be an integer between 2 and 36.</para>
          </listitem>
          <listitem>
            <para>This function is OpenOffice.Org compatible.</para>
          </listitem>
          <listitem>
            <para>Optional argument <parameter>length</parameter> specifies the minimum result length.  Leading  zeroes will be added to reach this length.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>BASE</function>(255,16,4) equals "00FF".</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DECIMAL"><function>DECIMAL</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-BESSELI">
      <refmeta>
        <refentrytitle>
          <function>BESSELI</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>BESSELI</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>BESSELI</function>(<parameter>x</parameter>,<parameter>y</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>BESSELI</function> function returns the Neumann, Weber or Bessel function.</para>
        <para><parameter>x</parameter> is where the function is evaluated. <parameter>y</parameter> is the order of the Bessel function, if non-integer it is truncated.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>x</parameter> or <parameter>y</parameter> are not numeric a #VALUE! error is returned.</para>
          </listitem>
          <listitem>
            <para>If <parameter>y</parameter> &lt; 0 a #NUM! error is returned.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>BESSELI</function>(0.7,3) equals 0.007367374.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-BESSELJ"><function>BESSELJ</function></link>,
        <link linkend="gnumeric-BESSELK"><function>BESSELK</function></link>,
        <link linkend="gnumeric-BESSELY"><function>BESSELY</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-BESSELJ">
      <refmeta>
        <refentrytitle>
          <function>BESSELJ</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>BESSELJ</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>BESSELJ</function>(<parameter>x</parameter>,<parameter>y</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>BESSELJ</function> function returns the Bessel function with <parameter>x</parameter> is where the function is evaluated. <parameter>y</parameter> is the order of the Bessel function, if non-integer it is truncated.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>x</parameter> or <parameter>y</parameter> are not numeric a #VALUE! error is returned.</para>
          </listitem>
          <listitem>
            <para>If <parameter>y</parameter> &lt; 0 a #NUM! error is returned.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>BESSELJ</function>(0.89,3) equals 0.013974004.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-BESSELI"><function>BESSELI</function></link>,
        <link linkend="gnumeric-BESSELK"><function>BESSELK</function></link>,
        <link linkend="gnumeric-BESSELY"><function>BESSELY</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-BESSELK">
      <refmeta>
        <refentrytitle>
          <function>BESSELK</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>BESSELK</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>BESSELK</function>(<parameter>x</parameter>,<parameter>y</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>BESSELK</function> function returns the Neumann, Weber or Bessel function. <parameter>x</parameter> is where the function is evaluated. <parameter>y</parameter> is the order of the Bessel function, if non-integer it is truncated.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>x</parameter> or <parameter>y</parameter> are not numeric a #VALUE! error is returned.</para>
          </listitem>
          <listitem>
            <para>If <parameter>y</parameter> &lt; 0 a #NUM! error is returned.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>BESSELK</function>(3,9) equals 397.95880.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-BESSELI"><function>BESSELI</function></link>,
        <link linkend="gnumeric-BESSELJ"><function>BESSELJ</function></link>,
        <link linkend="gnumeric-BESSELY"><function>BESSELY</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-BESSELY">
      <refmeta>
        <refentrytitle>
          <function>BESSELY</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>BESSELY</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>BESSELY</function>(<parameter>x</parameter>,<parameter>y</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>BESSELY</function> function returns the Neumann, Weber or Bessel function.</para>
        <para><parameter>x</parameter> is where the function is evaluated. <parameter>y</parameter> is the order of the Bessel function, if non-integer it is truncated.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>x</parameter> or <parameter>y</parameter> are not numeric a #VALUE! error is returned.</para>
          </listitem>
          <listitem>
            <para>If <parameter>y</parameter> &lt; 0 a #NUM! error is returned.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>BESSELY</function>(4,2) equals 0.215903595.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-BESSELI"><function>BESSELI</function></link>,
        <link linkend="gnumeric-BESSELJ"><function>BESSELJ</function></link>,
        <link linkend="gnumeric-BESSELK"><function>BESSELK</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-BIN2DEC">
      <refmeta>
        <refentrytitle>
          <function>BIN2DEC</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>BIN2DEC</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>BIN2DEC</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>BIN2DEC</function> function converts a binary number in string or number to its decimal equivalent.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>BIN2DEC</function>(101) equals 5.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DEC2BIN"><function>DEC2BIN</function></link>,
        <link linkend="gnumeric-BIN2OCT"><function>BIN2OCT</function></link>,
        <link linkend="gnumeric-BIN2HEX"><function>BIN2HEX</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-BIN2HEX">
      <refmeta>
        <refentrytitle>
          <function>BIN2HEX</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>BIN2HEX</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>BIN2HEX</function>(<parameter>number</parameter>[,<parameter>places</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>BIN2HEX</function> function converts a binary number to a hexadecimal number.  <parameter>places</parameter> is an optional field, specifying to zero pad to that number of spaces.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>places</parameter> is too small or negative #NUM! error is returned.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>BIN2HEX</function>(100111) equals 27.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-HEX2BIN"><function>HEX2BIN</function></link>,
        <link linkend="gnumeric-BIN2OCT"><function>BIN2OCT</function></link>,
        <link linkend="gnumeric-BIN2DEC"><function>BIN2DEC</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-BIN2OCT">
      <refmeta>
        <refentrytitle>
          <function>BIN2OCT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>BIN2OCT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>BIN2OCT</function>(<parameter>number</parameter>[,<parameter>places</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>BIN2OCT</function> function converts a binary number to an octal number. <parameter>places</parameter> is an optional field, specifying to zero pad to that number of spaces.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>places</parameter> is too small or negative #NUM! error is returned.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>BIN2OCT</function>(110111) equals 67.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OCT2BIN"><function>OCT2BIN</function></link>,
        <link linkend="gnumeric-BIN2DEC"><function>BIN2DEC</function></link>,
        <link linkend="gnumeric-BIN2HEX"><function>BIN2HEX</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-CONVERT">
      <refmeta>
        <refentrytitle>
          <function>CONVERT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>CONVERT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>CONVERT</function>(<parameter>number</parameter>,<parameter>from_unit</parameter>,<parameter>to_unit</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>CONVERT</function> returns a conversion from one measurement system to another.  For example, you can convert a weight in pounds to a weight in grams.  <parameter>number</parameter> is the value you want to convert, <parameter>from_unit</parameter> specifies the unit of the <parameter>number</parameter>, and <parameter>to_unit</parameter> is the unit for the result.</para>
        <para><parameter>from_unit</parameter> and <parameter>to_unit</parameter> can be any of the following:</para>
        <para>Weight and mass:</para>
        <para>	'g'  		Gram</para>
        <para>	'sg' 		Slug</para>
        <para>	'lbm'		Pound</para>
        <para>	'u'  		U (atomic mass)</para>
        <para>	'ozm'		Ounce</para>
        <para>Distance:</para>
        <para>	'm'   		Meter</para>
        <para>	'mi'  		Statute mile</para>
        <para>	'Nmi' 		Nautical mile</para>
        <para>	'in'  		Inch</para>
        <para>	'ft'  		Foot</para>
        <para>	'yd'  		Yard</para>
        <para>	'ang' 		Angstrom</para>
        <para>	'Pica'		Pica</para>
        <para>Time:</para>
        <para>	'yr'  		Year</para>
        <para>	'day' 		Day</para>
        <para>	'hr'  		Hour</para>
        <para>	'mn'  		Minute</para>
        <para>	'sec' 		Second</para>
        <para>Pressure:</para>
        <para>	'Pa'  		Pascal</para>
        <para>	'atm' 		Atmosphere</para>
        <para>	'mmHg'	mm of Mercury</para>
        <para>Force:</para>
        <para>	'N'   		Newton</para>
        <para>	'dyn' 		Dyne</para>
        <para>	'lbf' 		Pound force</para>
        <para>Energy:</para>
        <para>	'J'    		Joule</para>
        <para>	'e'    		Erg</para>
        <para>	'c'    		Thermodynamic calorie</para>
        <para>	'cal'  		IT calorie</para>
        <para>	'eV'   	Electron volt</para>
        <para>	'HPh'  	Horsepower-hour</para>
        <para>	'Wh'   	Watt-hour</para>
        <para>	'flb'  		Foot-pound</para>
        <para>	'BTU'  	BTU</para>
        <para>Power:</para>
        <para>	'HP'   	Horsepower</para>
        <para>	'W'    	Watt</para>
        <para>Magnetism:</para>
        <para>	'T'    		Tesla</para>
        <para>	'ga'   	Gauss</para>
        <para>Temperature:</para>
        <para>	'C'    		Degree Celsius</para>
        <para>	'F'    		Degree Fahrenheit</para>
        <para>	'K'    		Degree Kelvin</para>
        <para>Liquid measure:</para>
        <para>	'tsp'  		Teaspoon</para>
        <para>	'tbs'  		Tablespoon</para>
        <para>	'oz'   		Fluid ounce</para>
        <para>	'cup'  	Cup</para>
        <para>	'pt'   		Pint</para>
        <para>	'qt'   		Quart</para>
        <para>	'gal'  		Gallon</para>
        <para>	'l'    		Liter</para>
        <para>For metric units any of the following prefixes can be used:</para>
        <para>	'Y'  	yotta 	1E+24</para>
        <para>	'Z'  	zetta 	1E+21</para>
        <para>	'E'  	exa   	1E+18</para>
        <para>	'P'  	peta  	1E+15</para>
        <para>	'T'  	tera  		1E+12</para>
        <para>	'G'  	giga  	1E+09</para>
        <para>	'M'  	mega  	1E+06</para>
        <para>	'k'  	kilo  		1E+03</para>
        <para>	'h'  	hecto 	1E+02</para>
        <para>	'e'  	deka  	1E+01</para>
        <para>	'd'  	deci  	1E-01</para>
        <para>	'c'  	centi 		1E-02</para>
        <para>	'm'  	milli 		1E-03</para>
        <para>	'u'  	micro 	1E-06</para>
        <para>	'n'  	nano  	1E-09</para>
        <para>	'p'  	pico  	1E-12</para>
        <para>	'f'  	femto 	1E-15</para>
        <para>	'a'  	atto  		1E-18</para>
        <para>	'z'  	zepto 		1E-21</para>
        <para>	'y'  	yocto 		1E-24</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>from_unit</parameter> and <parameter>to_unit</parameter> are different types, <function>CONVERT</function> returns #N/A error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>CONVERT</function>(3,"lbm","g") equals 1360.7769.</para>
        <para><function>CONVERT</function>(5.8,"m","in") equals 228.3465.</para>
        <para><function>CONVERT</function>(7.9,"cal","J") equals 33.07567.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DEC2BIN">
      <refmeta>
        <refentrytitle>
          <function>DEC2BIN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DEC2BIN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DEC2BIN</function>(<parameter>number</parameter>[,<parameter>places</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DEC2BIN</function> function converts a decimal number to a binary number. <parameter>places</parameter> is an optional field, specifying to zero pad to that number of spaces.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>places</parameter> is too small or negative #NUM! error is returned.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>DEC2BIN</function>(42) equals 101010.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-BIN2DEC"><function>BIN2DEC</function></link>,
        <link linkend="gnumeric-DEC2OCT"><function>DEC2OCT</function></link>,
        <link linkend="gnumeric-DEC2HEX"><function>DEC2HEX</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DEC2HEX">
      <refmeta>
        <refentrytitle>
          <function>DEC2HEX</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DEC2HEX</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DEC2HEX</function>(<parameter>number</parameter>[,<parameter>places</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DEC2HEX</function> function converts a decimal number to a hexadecimal number. <parameter>places</parameter> is an optional field, specifying to zero pad to that number of spaces.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>places</parameter> is too small or negative #NUM! error is returned.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>DEC2HEX</function>(42) equals 2A.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-HEX2DEC"><function>HEX2DEC</function></link>,
        <link linkend="gnumeric-DEC2BIN"><function>DEC2BIN</function></link>,
        <link linkend="gnumeric-DEC2OCT"><function>DEC2OCT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DEC2OCT">
      <refmeta>
        <refentrytitle>
          <function>DEC2OCT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DEC2OCT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DEC2OCT</function>(<parameter>number</parameter>[,<parameter>places</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DEC2OCT</function> function converts a decimal number to an octal number. <parameter>places</parameter> is an optional field, specifying to zero pad to that number of spaces.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>places</parameter> is too small or negative #NUM! error is returned.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>DEC2OCT</function>(42) equals 52.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OCT2DEC"><function>OCT2DEC</function></link>,
        <link linkend="gnumeric-DEC2BIN"><function>DEC2BIN</function></link>,
        <link linkend="gnumeric-DEC2HEX"><function>DEC2HEX</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DECIMAL">
      <refmeta>
        <refentrytitle>
          <function>DECIMAL</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DECIMAL</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DECIMAL</function>(<parameter>text</parameter>,<parameter>base</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DECIMAL</function> function converts a number in base <parameter>base</parameter> to decimal.</para>
        <itemizedlist>
          <listitem>
            <para><parameter>base</parameter> must be an integer between 2 and 36.</para>
          </listitem>
          <listitem>
            <para>This function is OpenOffice.Org compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>DECIMAL</function>("A1",16) equals 161.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-BASE"><function>BASE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DELTA">
      <refmeta>
        <refentrytitle>
          <function>DELTA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DELTA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DELTA</function>(<parameter>x</parameter>[,<parameter>y</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DELTA</function> function tests for numerical equivalence of two arguments, returning 1 in case of equality.</para>
        <itemizedlist>
          <listitem>
            <para><parameter>y</parameter> is optional, and defaults to 0.</para>
          </listitem>
          <listitem>
            <para>If either argument is non-numeric returns a #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>DELTA</function>(42.99,43) equals 0.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-EXACT"><function>EXACT</function></link>,
        <link linkend="gnumeric-GESTEP"><function>GESTEP</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ERF">
      <refmeta>
        <refentrytitle>
          <function>ERF</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ERF</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ERF</function>(<parameter/>[lower limit,<parameter/>]upper_limit)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ERF</function> returns the error function.  With a single argument <function>ERF</function> returns the error function, defined as</para>
        <para>	erf(x) = 2/sqrt(pi)* integral from 0 to x of exp(-t*t) dt.</para>
        <para>If two arguments are supplied, they are the lower and upper limits of the integral.</para>
        <itemizedlist>
          <listitem>
            <para>If either <parameter>lower_limit</parameter> or <parameter>upper_limit</parameter> is not numeric a #VALUE! error is returned.</para>
          </listitem>
          <listitem>
            <para>This function is upward-compatible with that in Excel. (If two arguments are supplied, Excel will not allow either to be negative.)</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ERF</function>(0.4) equals 0.428392355.</para>
        <para><function>ERF</function>(1.6448536269515/SQRT(2)) equals 0.90.</para>
        <para>The second example shows that a random variable with a normal distribution has a 90 percent chance of falling within approximately 1.645 standard deviations of the mean.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ERFC"><function>ERFC</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ERFC">
      <refmeta>
        <refentrytitle>
          <function>ERFC</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ERFC</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ERFC</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ERFC</function> function returns the complementary error function, defined as</para>
        <para>	1 - erf(x).</para>
        <para>erfc(x) is calculated more accurately than 1 - erf(x) for arguments larger than about 0.5.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>x</parameter> is not numeric a #VALUE! error is returned.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ERFC</function>(6) equals 2.15197367e-17.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ERF"><function>ERF</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-GESTEP">
      <refmeta>
        <refentrytitle>
          <function>GESTEP</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>GESTEP</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>GESTEP</function>(<parameter>x</parameter>[,<parameter>y</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>GESTEP</function> function tests if <parameter>x</parameter> is &gt;= <parameter>y</parameter>, returning 1 if it is so, and 0 otherwise. <parameter>y</parameter> is optional, and defaults to 0.</para>
        <itemizedlist>
          <listitem>
            <para>If either argument is non-numeric returns a #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>GESTEP</function>(5,4) equals 1.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DELTA"><function>DELTA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-HEX2BIN">
      <refmeta>
        <refentrytitle>
          <function>HEX2BIN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>HEX2BIN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>HEX2BIN</function>(<parameter>number</parameter>[,<parameter>places</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>HEX2BIN</function> function converts a hexadecimal number to a binary number.  <parameter>places</parameter> is an optional field, specifying to zero pad to that number of spaces.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>places</parameter> is too small or negative #NUM! error is returned.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>HEX2BIN</function>("2A") equals 101010.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-BIN2HEX"><function>BIN2HEX</function></link>,
        <link linkend="gnumeric-HEX2OCT"><function>HEX2OCT</function></link>,
        <link linkend="gnumeric-HEX2DEC"><function>HEX2DEC</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-HEX2DEC">
      <refmeta>
        <refentrytitle>
          <function>HEX2DEC</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>HEX2DEC</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>HEX2DEC</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>HEX2DEC</function> function converts a hexadecimal number to its decimal equivalent.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>HEX2DEC</function>("2A") equals 42.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DEC2HEX"><function>DEC2HEX</function></link>,
        <link linkend="gnumeric-HEX2BIN"><function>HEX2BIN</function></link>,
        <link linkend="gnumeric-HEX2OCT"><function>HEX2OCT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-HEX2OCT">
      <refmeta>
        <refentrytitle>
          <function>HEX2OCT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>HEX2OCT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>HEX2OCT</function>(<parameter>number</parameter>[,<parameter>places</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>HEX2OCT</function> function converts a hexadecimal number to an octal number.  <parameter>places</parameter> is an optional field, specifying to zero pad to that number of spaces.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>places</parameter> is too small or negative #NUM! error is returned.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>HEX2OCT</function>("2A") equals 52.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OCT2HEX"><function>OCT2HEX</function></link>,
        <link linkend="gnumeric-HEX2BIN"><function>HEX2BIN</function></link>,
        <link linkend="gnumeric-HEX2DEC"><function>HEX2DEC</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-INVSUMINV">
      <refmeta>
        <refentrytitle>
          <function>INVSUMINV</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>INVSUMINV</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>INVSUMINV</function>(<parameter>x1</parameter>,<parameter>x2</parameter>,<parameter/>...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>INVSUMINV</function> sum calculates the inverse of the sum of inverses.</para>
        <para>The primary use of this is for calculating equivalent resistance for parallel resistors or equivalent capacitance of a series of capacitors.</para>
        <itemizedlist>
          <listitem>
            <para>All arguments must be non-negative, or else a #VALUE! result is returned.</para>
          </listitem>
          <listitem>
            <para>If any argument is zero, the result is zero.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>INVSUMINV</function>(2000,2000) equals 1000.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-HARMEAN"><function>HARMEAN</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OCT2BIN">
      <refmeta>
        <refentrytitle>
          <function>OCT2BIN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OCT2BIN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OCT2BIN</function>(<parameter>number</parameter>[,<parameter>places</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OCT2BIN</function> function converts an octal number to a binary number.  <parameter>places</parameter> is an optional field, specifying to zero pad to that number of spaces.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>places</parameter> is too small or negative #NUM! error is returned.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>OCT2BIN</function>("213") equals 10001011.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-BIN2OCT"><function>BIN2OCT</function></link>,
        <link linkend="gnumeric-OCT2DEC"><function>OCT2DEC</function></link>,
        <link linkend="gnumeric-OCT2HEX"><function>OCT2HEX</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OCT2DEC">
      <refmeta>
        <refentrytitle>
          <function>OCT2DEC</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OCT2DEC</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OCT2DEC</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OCT2DEC</function> function converts an octal number in a string or number to its decimal equivalent.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>OCT2DEC</function>("124") equals 84.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DEC2OCT"><function>DEC2OCT</function></link>,
        <link linkend="gnumeric-OCT2BIN"><function>OCT2BIN</function></link>,
        <link linkend="gnumeric-OCT2HEX"><function>OCT2HEX</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OCT2HEX">
      <refmeta>
        <refentrytitle>
          <function>OCT2HEX</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OCT2HEX</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OCT2HEX</function>(<parameter>number</parameter>[,<parameter>places</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OCT2HEX</function> function converts an octal number to a hexadecimal number.  <parameter>places</parameter> is an optional field, specifying to zero pad to that number of spaces.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>places</parameter> is too small or negative #NUM! error is returned.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>OCT2HEX</function>(132) equals 5A.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-HEX2OCT"><function>HEX2OCT</function></link>,
        <link linkend="gnumeric-OCT2BIN"><function>OCT2BIN</function></link>,
        <link linkend="gnumeric-OCT2DEC"><function>OCT2DEC</function></link>.
      </para>
      </refsect1>
    </refentry>
  </sect1>
  <sect1 id="CATEGORY_Erlang">
    <title>Erlang</title>
    <refentry id="gnumeric-DIMCIRC">
      <refmeta>
        <refentrytitle>
          <function>DIMCIRC</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DIMCIRC</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DIMCIRC</function>(<parameter>traffic</parameter>,<parameter>gos</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DIMCIRC</function> returns a number of circuits required from a number of <parameter>traffic</parameter> loads with <parameter>gos</parameter> grade of service.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>DIMCIRC</function>(24,1%) returns 35.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OFFCAP"><function>OFFCAP</function></link>,
        <link linkend="gnumeric-OFFTRAF"><function>OFFTRAF</function></link>,
        <link linkend="gnumeric-PROBBLOCK"><function>PROBBLOCK</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OFFCAP">
      <refmeta>
        <refentrytitle>
          <function>OFFCAP</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OFFCAP</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OFFCAP</function>(<parameter>circuits</parameter>,<parameter>gos</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OFFCAP</function> returns a number of traffic capacity given by a number of <parameter>circuits</parameter> with <parameter>gos</parameter> grade of service.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>OFFCAP</function>(30,1%) returns 20.337.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DIMCIRC"><function>DIMCIRC</function></link>,
        <link linkend="gnumeric-OFFTRAF"><function>OFFTRAF</function></link>,
        <link linkend="gnumeric-PROBBLOCK"><function>PROBBLOCK</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OFFTRAF">
      <refmeta>
        <refentrytitle>
          <function>OFFTRAF</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OFFTRAF</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OFFTRAF</function>(<parameter>traffic</parameter>,<parameter>circuits</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OFFTRAF</function> returns a predicted number of offered traffic from a number of carried <parameter>traffic</parameter> (taken from measurements) on a number of <parameter>circuits</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para><parameter>traffic</parameter> cannot exceed <parameter>circuits</parameter></para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>OFFTRAF</function>(24,30) returns 25.527.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-PROBBLOCK"><function>PROBBLOCK</function></link>,
        <link linkend="gnumeric-DIMCIRC"><function>DIMCIRC</function></link>,
        <link linkend="gnumeric-OFFCAP"><function>OFFCAP</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-PROBBLOCK">
      <refmeta>
        <refentrytitle>
          <function>PROBBLOCK</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>PROBBLOCK</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>PROBBLOCK</function>(<parameter>traffic</parameter>,<parameter>circuits</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>PROBBLOCK</function> returns probability of blocking when a number of <parameter>traffic</parameter> loads into a number of <parameter>circuits</parameter> (servers).</para>
        <itemizedlist>
          <listitem>
            <para><parameter>traffic</parameter> cannot exceed <parameter>circuits</parameter></para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>PROBBLOCK</function>(24,30) returns 0.4012.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OFFTRAF"><function>OFFTRAF</function></link>,
        <link linkend="gnumeric-DIMCIRC"><function>DIMCIRC</function></link>,
        <link linkend="gnumeric-OFFCAP"><function>OFFCAP</function></link>.
      </para>
      </refsect1>
    </refentry>
  </sect1>
  <sect1 id="CATEGORY_Finance">
    <title>Finance</title>
    <refentry id="gnumeric-ACCRINT">
      <refmeta>
        <refentrytitle>
          <function>ACCRINT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ACCRINT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ACCRINT</function>(<parameter>issue</parameter>,<parameter>first_interest</parameter>,<parameter>settlement</parameter>,<parameter>rate</parameter>,<parameter>par</parameter>,<parameter>frequency</parameter>[,<parameter>basis</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ACCRINT</function> calculates the accrued interest for a security that pays periodic interest.</para>
        <para><parameter>issue</parameter> is the issue date of the security.  <parameter>first_interest</parameter> is the first interest date of the security.  <parameter>settlement</parameter> is the settlement date of the security.  The settlement date is always after the issue date (the date when the security is bought). <parameter>rate</parameter> is the annual rate of the security and <parameter>par</parameter> is the par value of the security. <parameter>frequency</parameter> is the number of coupon payments per year.</para>
        <para>Allowed frequencies are:</para>
        <para>  1 = annual,</para>
        <para>  2 = semi,</para>
        <para>  4 = quarterly.</para>
        <para><parameter>basis</parameter> is the type of day counting system you want to use:</para>
        <para>  0  US 30/360</para>
        <para>  1  actual days/actual days</para>
        <para>  2  actual days/360</para>
        <para>  3  actual days/365</para>
        <para>  4  European 30/360</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>issue</parameter> date, <parameter>first_interest</parameter> date, or <parameter>settlement</parameter> date is not valid, <function>ACCRINT</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>The dates must be <parameter>issue</parameter> &lt; <parameter>first_interest</parameter> &lt; <parameter>settlement</parameter>, or <function>ACCRINT</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>rate</parameter> &lt;= 0 or <parameter>par</parameter> &lt;= 0 , <function>ACCRINT</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is omitted, US 30/360 is applied.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> &lt; 0 or <parameter>basis</parameter> &gt; 4, <function>ACCRINT</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>issue</parameter> date is after <parameter>settlement</parameter> date or they are the same, <function>ACCRINT</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ACCRINTM"><function>ACCRINTM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ACCRINTM">
      <refmeta>
        <refentrytitle>
          <function>ACCRINTM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ACCRINTM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ACCRINTM</function>(<parameter>issue</parameter>,<parameter>maturity</parameter>,<parameter>rate</parameter>[,<parameter>par</parameter>,<parameter>basis</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ACCRINTM</function> calculates and returns the accrued interest for a security from <parameter>issue</parameter> to <parameter>maturity</parameter> date.</para>
        <para><parameter>issue</parameter> is the issue date of the security.  <parameter>maturity</parameter> is the maturity date of the security.  <parameter>rate</parameter> is the annual rate of the security and <parameter>par</parameter> is the par value of the security. If you omit <parameter>par</parameter>, <function>ACCRINTM</function> applies $1,000 instead.  <parameter>basis</parameter> is the type of day counting system you want to use:</para>
        <para>  0  US 30/360</para>
        <para>  1  actual days/actual days</para>
        <para>  2  actual days/360</para>
        <para>  3  actual days/365</para>
        <para>  4  European 30/360</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>issue</parameter> date or <parameter>maturity</parameter> date is not valid, <function>ACCRINTM</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>rate</parameter> &lt;= 0 or <parameter>par</parameter> &lt;= 0, <function>ACCRINTM</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is omitted, US 30/360 is applied.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> &lt; 0 or <parameter>basis</parameter> &gt; 4, <function>ACCRINTM</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>issue</parameter> date is after <parameter>maturity</parameter> date or they are the same, <function>ACCRINTM</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ACCRINT"><function>ACCRINT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-AMORDEGRC">
      <refmeta>
        <refentrytitle>
          <function>AMORDEGRC</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>AMORDEGRC</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>AMORDEGRC</function>(<parameter>cost</parameter>,<parameter>purchase_date</parameter>,<parameter>first_period</parameter>,<parameter>salvage</parameter>,<parameter>period</parameter>,<parameter>rate</parameter>[,<parameter>basis</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>AMORDEGRC</function>: Calculates depreciation for each accounting period using French accounting conventions.   Assets purchased in the middle of a period take prorated depreciation into account.  This is similar to AMORLINC, except that a depreciation coefficient is applied in the calculation depending on the life of the assets.</para>
        <para>Named for AMORtissement DEGRessif Comptabilite</para>
        <para><parameter>cost</parameter> The value of the asset.</para>
        <para><parameter>purchase_date</parameter> The date the asset was purchased.</para>
        <para><parameter>first_period</parameter> The end of the first period.</para>
        <para><parameter>salvage</parameter> Asset value at maturity.</para>
        <para><parameter>period</parameter> The length of accounting periods.</para>
        <para><parameter>rate</parameter> rate of depreciation as a percentage.</para>
        <para><parameter>basis</parameter> is the type of day counting system you want to use:</para>
        <para>  0  US 30/360</para>
        <para>  1  actual days/actual days</para>
        <para>  2  actual days/360</para>
        <para>  3  actual days/365</para>
        <para>  4  European 30/360</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>basis</parameter> is omitted, US 30/360 is applied.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is not in between 0 and 4, #NUM! error is returned.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>AMORDEGRC</function>(2400,DATE(1998,8,19),DATE(1998,12,30),300,1,0.14,1) = 733</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-AMORLINC"><function>AMORLINC</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-AMORLINC">
      <refmeta>
        <refentrytitle>
          <function>AMORLINC</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>AMORLINC</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>AMORLINC</function>(<parameter>cost</parameter>,<parameter>purchase_date</parameter>,<parameter>first_period</parameter>,<parameter>salvage</parameter>,<parameter>period</parameter>,<parameter>rate</parameter>[,<parameter>basis</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>AMORLINC</function>: Calculates depreciation for each accounting period using French accounting conventions.   Assets purchased in the middle of a period take prorated depreciation into account.</para>
        <para>Named for AMORtissement LINeaire Comptabilite.</para>
        <para><parameter>cost</parameter> The value of the asset.</para>
        <para><parameter>purchase_date</parameter> The date the asset was purchased.</para>
        <para><parameter>first_period</parameter> The end of the first period.</para>
        <para><parameter>salvage</parameter> Asset value at maturity.</para>
        <para><parameter>period</parameter> The length of accounting periods.</para>
        <para><parameter>rate</parameter> rate of depreciation as a percentage.</para>
        <para><parameter>basis</parameter> is the type of day counting system you want to use:</para>
        <para>  0  US 30/360</para>
        <para>  1  actual days/actual days</para>
        <para>  2  actual days/360</para>
        <para>  3  actual days/365</para>
        <para>  4  European 30/360</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>basis</parameter> is omitted, US 30/360 is applied.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is not in between 0 and 4, #NUM! error is returned.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>AMORLINC</function>(2400,DATE(1998,8,19),DATE(1998,12,31),300,1,0.15,1) = 360</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-AMORDEGRC"><function>AMORDEGRC</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-COUPDAYBS">
      <refmeta>
        <refentrytitle>
          <function>COUPDAYBS</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>COUPDAYBS</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>COUPDAYBS</function>(<parameter>settlement</parameter>,<parameter>maturity</parameter>,<parameter>frequency</parameter>[,<parameter>basis</parameter>,<parameter>eom</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>COUPDAYBS</function> returns the number of days from the beginning of the coupon period to the settlement date.</para>
        <para><parameter>settlement</parameter> is the settlement date of the security.</para>
        <para><parameter>maturity</parameter> is the maturity date of the security.</para>
        <para><parameter>frequency</parameter> is the number of coupon payments per year.</para>
        <para><parameter>eom</parameter> = TRUE handles end of month maturity dates special.</para>
        <para>Allowed frequencies are: 1 = annual, 2 = semi, 4 = quarterly, 6 = bimonthly, 12 = monthly.</para>
        <para><parameter>basis</parameter> is the type of day counting system you want to use:</para>
        <para>  0  MSRB 30/360 (MSRB Rule G33 (e))</para>
        <para>  1  actual days/actual days</para>
        <para>  2  actual days/360</para>
        <para>  3  actual days/365</para>
        <para>  4  European 30/360</para>
        <para>  5  European+ 30/360</para>
        <para>(See the gnumeric manual for a detailed description of these bases).</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>frequency</parameter> is invalid, <function>COUPDAYBS</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is omitted, MSRB 30/360 is applied.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is invalid, #NUM! error is returned.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>COUPDAYBS</function> (DATE(2002,11,29),DATE(2004,2,29),4,0) = 89</para>
        <para><function>COUPDAYBS</function> (DATE(2002,11,29),DATE(2004,2,29),4,0,FALSE) = 0</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-COUPDAYS">
      <refmeta>
        <refentrytitle>
          <function>COUPDAYS</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>COUPDAYS</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>COUPDAYS</function>(<parameter>settlement</parameter>,<parameter>maturity</parameter>,<parameter>frequency</parameter>[,<parameter>basis</parameter>,<parameter>eom</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>COUPDAYS</function> returns the number of days in the coupon period of the settlement date.</para>
        <para><parameter>settlement</parameter> is the settlement date of the security.</para>
        <para><parameter>maturity</parameter> is the maturity date of the security.</para>
        <para><parameter>frequency</parameter> is the number of coupon payments per year.</para>
        <para><parameter>eom</parameter> = TRUE handles end of month maturity dates special.</para>
        <para>Allowed frequencies are: 1 = annual, 2 = semi, 4 = quarterly, 6 = bimonthly, 12 = monthly.</para>
        <para><parameter>basis</parameter> is the type of day counting system you want to use:</para>
        <para>  0  MSRB 30/360 (MSRB Rule G33 (e))</para>
        <para>  1  actual days/actual days</para>
        <para>  2  actual days/360</para>
        <para>  3  actual days/365</para>
        <para>  4  European 30/360</para>
        <para>  5  European+ 30/360</para>
        <para>(See the gnumeric manual for a detailed description of these bases).</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>frequency</parameter> is invalid, <function>COUPDAYS</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is omitted, MSRB 30/360 is applied.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is invalid, #NUM! error is returned.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>COUPDAYS</function> (DATE(2002,11,29),DATE(2004,2,29),4,0) = 90</para>
        <para><function>COUPDAYS</function> (DATE(2002,11,29),DATE(2004,2,29),4,0,FALSE) = 90</para>
        <para><function>COUPDAYS</function> (DATE(2002,11,29),DATE(2004,2,29),4,1,FALSE) = 91</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-COUPDAYSNC">
      <refmeta>
        <refentrytitle>
          <function>COUPDAYSNC</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>COUPDAYSNC</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>COUPDAYSNC</function>(<parameter>settlement</parameter>,<parameter>maturity</parameter>,<parameter>frequency</parameter>[,<parameter>basis</parameter>,<parameter>eom</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>COUPDAYSNC</function> returns the number of days from the settlement date to the next coupon date.</para>
        <para><parameter>settlement</parameter> is the settlement date of the security.</para>
        <para><parameter>maturity</parameter> is the maturity date of the security.</para>
        <para><parameter>frequency</parameter> is the number of coupon payments per year.</para>
        <para><parameter>eom</parameter> = TRUE handles end of month maturity dates special.</para>
        <para>Allowed frequencies are: 1 = annual, 2 = semi, 4 = quarterly, 6 = bimonthly, 12 = monthly.</para>
        <para><parameter>basis</parameter> is the type of day counting system you want to use:</para>
        <para>  0  MSRB 30/360 (MSRB Rule G33 (e))</para>
        <para>  1  actual days/actual days</para>
        <para>  2  actual days/360</para>
        <para>  3  actual days/365</para>
        <para>  4  European 30/360</para>
        <para>  5  European+ 30/360</para>
        <para>(See the gnumeric manual for a detailed description of these bases).</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>frequency</parameter> is invalid, <function>COUPDAYSNC</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is omitted, MSRB 30/360 is applied.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is invalid, #NUM! error is returned.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>COUPDAYSNC</function> (DATE(2002,11,29),DATE(2004,2,29),4,0) = 1</para>
        <para><function>COUPDAYSNC</function> (DATE(2002,11,29),DATE(2004,2,29),4,0,FALSE) = 89</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-COUPNCD">
      <refmeta>
        <refentrytitle>
          <function>COUPNCD</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>COUPNCD</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>COUPNCD</function>(<parameter>settlement</parameter>,<parameter>maturity</parameter>,<parameter>frequency</parameter>[,<parameter>basis</parameter>,<parameter>eom</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>COUPNCD</function> returns the coupon date following settlement.</para>
        <para><parameter>settlement</parameter> is the settlement date of the security.</para>
        <para><parameter>maturity</parameter> is the maturity date of the security.</para>
        <para><parameter>frequency</parameter> is the number of coupon payments per year.</para>
        <para><parameter>eom</parameter> = TRUE handles end of month maturity dates special.</para>
        <para>Allowed frequencies are: 1 = annual, 2 = semi, 4 = quarterly, 6 = bimonthly, 12 = monthly.</para>
        <para><parameter>basis</parameter> is the type of day counting system you want to use:</para>
        <para>  0  MSRB 30/360 (MSRB Rule G33 (e))</para>
        <para>  1  actual days/actual days</para>
        <para>  2  actual days/360</para>
        <para>  3  actual days/365</para>
        <para>  4  European 30/360</para>
        <para>  5  European+ 30/360</para>
        <para>(See the gnumeric manual for a detailed description of these bases).</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>frequency</parameter> is invalid, <function>COUPNCD</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is omitted, MSRB 30/360 is applied.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is invalid, #NUM! error is returned.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>COUPNCD</function> (DATE(2002,11,29),DATE(2004,2,29),4,0) = 30-Nov-2002</para>
        <para><function>COUPNCD</function> (DATE(2002,11,29),DATE(2004,2,29),4,0,FALSE) = 28-Feb-2003</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-COUPNUM">
      <refmeta>
        <refentrytitle>
          <function>COUPNUM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>COUPNUM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>COUPNUM</function>(<parameter>settlement</parameter>,<parameter>maturity</parameter>,<parameter>frequency</parameter>[,<parameter>basis</parameter>,<parameter>eom</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>COUPNUM</function> returns the numbers of coupons to be paid between the settlement and maturity dates, rounded up.</para>
        <para><parameter>settlement</parameter> is the settlement date of the security.</para>
        <para><parameter>maturity</parameter> is the maturity date of the security.</para>
        <para><parameter>frequency</parameter> is the number of coupon payments per year.</para>
        <para><parameter>eom</parameter> = TRUE handles end of month maturity dates special.</para>
        <para>Allowed frequencies are: 1 = annual, 2 = semi, 4 = quarterly. 6 = bimonthly, 12 = monthly.</para>
        <para><parameter>basis</parameter> is the type of day counting system you want to use:</para>
        <para>  0  MSRB 30/360 (MSRB Rule G33 (e))</para>
        <para>  1  actual days/actual days</para>
        <para>  2  actual days/360</para>
        <para>  3  actual days/365</para>
        <para>  4  European 30/360</para>
        <para>  5  European+ 30/360</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>frequency</parameter> is other than 1, 2, 4, 6 or 12, <function>COUPNUM</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is omitted, MSRB 30/360 is applied.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is not in between 0 and 5, #NUM! error is returned.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>COUPNUM</function> (DATE(2002,11,29),DATE(2004,2,29),4,0) = 6</para>
        <para><function>COUPNUM</function> (DATE(2002,11,29),DATE(2004,2,29),4,0,FALSE) = 5</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-COUPPCD">
      <refmeta>
        <refentrytitle>
          <function>COUPPCD</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>COUPPCD</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>COUPPCD</function>(<parameter>settlement</parameter>,<parameter>maturity</parameter>,<parameter>frequency</parameter>[,<parameter>basis</parameter>,<parameter>eom</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>COUPPCD</function> returns the coupon date preceding settlement.</para>
        <para><parameter>settlement</parameter> is the settlement date of the security.</para>
        <para><parameter>maturity</parameter> is the maturity date of the security.</para>
        <para><parameter>frequency</parameter> is the number of coupon payments per year.</para>
        <para><parameter>eom</parameter> = TRUE handles end of month maturity dates special.</para>
        <para>Allowed frequencies are: 1 = annual, 2 = semi, 4 = quarterly, 6 = bimonthly, 12 = monthly.</para>
        <para><parameter>basis</parameter> is the type of day counting system you want to use:</para>
        <para>  0  MSRB 30/360 (MSRB Rule G33 (e))</para>
        <para>  1  actual days/actual days</para>
        <para>  2  actual days/360</para>
        <para>  3  actual days/365</para>
        <para>  4  European 30/360</para>
        <para>  5  European+ 30/360</para>
        <para>(See the gnumeric manual for a detailed description of these bases).</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>frequency</parameter> is invalid, <function>COUPPCD</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is omitted, MSRB 30/360 is applied.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is invalid, #NUM! error is returned.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>COUPPCD</function> (DATE(2002,11,29),DATE(2004,2,29),4,0) = 31-Aug-2002</para>
        <para><function>COUPPCD</function> (DATE(2002,11,29),DATE(2004,2,29),4,0,FALSE) = 29-Nov-2002</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-CUM_BIV_NORM_DIST">
      <refmeta>
        <refentrytitle>
          <function>CUM_BIV_NORM_DIST</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>CUM_BIV_NORM_DIST</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>CUM_BIV_NORM_DIST</function>(<parameter>a</parameter>,<parameter>b</parameter>,<parameter>rho</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>CUM_BIV_NORM_DIST</function> calculates the cumulative bivariate normal distribution from parameters a, b &amp; rho.</para>
        <para>The return value is the probability that two random variables with correlation <parameter>rho</parameter> are respectively each less than <parameter>a</parameter> and <parameter>b</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-NORMDIST"><function>NORMDIST</function></link>,
        <link linkend="gnumeric-NORMSDIST"><function>NORMSDIST</function></link>,
        <link linkend="gnumeric-NORMSINV"><function>NORMSINV</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-CUMIPMT">
      <refmeta>
        <refentrytitle>
          <function>CUMIPMT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>CUMIPMT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>CUMIPMT</function>(<parameter>rate</parameter>,<parameter>nper</parameter>,<parameter>pv</parameter>,<parameter>start_period</parameter>,<parameter>end_period</parameter>,<parameter>type</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>CUMIPMT</function> returns the cumulative interest paid on a loan between <parameter>start_period</parameter> and <parameter>end_period</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>rate</parameter> &lt;= 0, <function>CUMIPMT</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>nper</parameter> &lt;= 0, <function>CUMIPMT</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>pv</parameter> &lt;= 0, <function>CUMIPMT</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>start_period</parameter> &lt; 1, <function>CUMIPMT</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>end_period</parameter> &lt; <parameter>start_period</parameter>, <function>CUMIPMT</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>end_period</parameter> &gt; <parameter>nper</parameter>, <function>CUMIPMT</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>type</parameter> &lt;&gt; 0 and <parameter>type</parameter> &lt;&gt; 1, <function>CUMIPMT</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-CUMPRINC">
      <refmeta>
        <refentrytitle>
          <function>CUMPRINC</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>CUMPRINC</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>CUMPRINC</function>(<parameter>rate</parameter>,<parameter>nper</parameter>,<parameter>pv</parameter>,<parameter>start_period</parameter>,<parameter>end_period</parameter>,<parameter>type</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>CUMPRINC</function> returns the cumulative principal paid on a loan between <parameter>start_period</parameter> and <parameter>end_period</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>rate</parameter> &lt;= 0, <function>CUMPRINC</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>nper</parameter> &lt;= 0, <function>CUMPRINC</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>pv</parameter> &lt;= 0, <function>CUMPRINC</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>start_period</parameter> &lt; 1, <function>CUMPRINC</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>end_period</parameter> &lt; <parameter>start_period</parameter>, <function>CUMPRINC</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>end_period</parameter> &gt; <parameter>nper</parameter>, <function>CUMPRINC</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>type</parameter> &lt;&gt; 0 and <parameter>type</parameter> &lt;&gt; 1, <function>CUMPRINC</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DB">
      <refmeta>
        <refentrytitle>
          <function>DB</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DB</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DB</function>(<parameter>cost</parameter>,<parameter>salvage</parameter>,<parameter>life</parameter>,<parameter>period</parameter>[,<parameter>month</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DB</function> calculates the depreciation of an asset for a given period using the fixed-declining balance method.  <parameter>cost</parameter> is the initial value of the asset.  <parameter>salvage</parameter> is the value after the depreciation.</para>
        <para><parameter>life</parameter> is the number of periods overall.  <parameter>period</parameter> is the period for which you want the depreciation to be calculated.  <parameter>month</parameter> is the number of months in the first year of depreciation.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>month</parameter> is omitted, it is assumed to be 12.</para>
          </listitem>
          <listitem>
            <para>If <parameter>cost</parameter> = 0, <function>DB</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>life</parameter> &lt;= 0, <function>DB</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>salvage</parameter> / <parameter>cost</parameter> &lt; 0, <function>DB</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DDB"><function>DDB</function></link>,
        <link linkend="gnumeric-SLN"><function>SLN</function></link>,
        <link linkend="gnumeric-SYD"><function>SYD</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DDB">
      <refmeta>
        <refentrytitle>
          <function>DDB</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DDB</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DDB</function>(<parameter>cost</parameter>,<parameter>salvage</parameter>,<parameter>life</parameter>,<parameter>period</parameter>[,<parameter>factor</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DDB</function> returns the depreciation of an asset for a given period using the double-declining balance method or some other similar method you specify.</para>
        <para><parameter>cost</parameter> is the initial value of the asset, <parameter>salvage</parameter> is the value after the last period, <parameter>life</parameter> is the number of periods, <parameter>period</parameter> is the period for which you want the depreciation to be calculated, and <parameter>factor</parameter> is the factor at which the balance declines.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>factor</parameter> is omitted, it is assumed to be two (double-declining balance method).</para>
          </listitem>
          <listitem>
            <para>If <parameter>life</parameter> &lt;= 0, <function>DDB</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-SLN"><function>SLN</function></link>,
        <link linkend="gnumeric-SYD"><function>SYD</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DISC">
      <refmeta>
        <refentrytitle>
          <function>DISC</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DISC</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DISC</function>(<parameter>settlement</parameter>,<parameter>maturity</parameter>,<parameter>par</parameter>,<parameter>redemption</parameter>[,<parameter>basis</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DISC</function> calculates and returns the discount rate for a security. <parameter>settlement</parameter> is the settlement date of the security.</para>
        <para><parameter>maturity</parameter> is the maturity date of the security.  <parameter>par</parameter> is the price per $100 face value of the security.  <parameter>redemption</parameter> is the redemption value per $100 face value of the security.</para>
        <para><parameter>basis</parameter> is the type of day counting system you want to use:</para>
        <para>  0  US 30/360</para>
        <para>  1  actual days/actual days</para>
        <para>  2  actual days/360</para>
        <para>  3  actual days/365</para>
        <para>  4  European 30/360</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>settlement</parameter> date or <parameter>maturity</parameter> date is not valid, <function>DISC</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is omitted, US 30/360 is applied.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> &lt; 0 or <parameter>basis</parameter> &gt; 4, <function>DISC</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>settlement</parameter> date is after <parameter>maturity</parameter> date or they are the same, <function>DISC</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DOLLARDE">
      <refmeta>
        <refentrytitle>
          <function>DOLLARDE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DOLLARDE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DOLLARDE</function>(<parameter>fractional_dollar</parameter>,<parameter>fraction</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DOLLARDE</function> converts a dollar price expressed as a fraction into a dollar price expressed as a decimal number.</para>
        <para><parameter>fractional_dollar</parameter> is the fractional number to be converted. <parameter>fraction</parameter> is the denominator of the fraction.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>fraction</parameter> is non-integer it is truncated.</para>
          </listitem>
          <listitem>
            <para>If <parameter>fraction</parameter> &lt;= 0, <function>DOLLARDE</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DOLLARFR"><function>DOLLARFR</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DOLLARFR">
      <refmeta>
        <refentrytitle>
          <function>DOLLARFR</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DOLLARFR</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DOLLARFR</function>(<parameter>decimal_dollar</parameter>,<parameter>fraction</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DOLLARFR</function> converts a decimal dollar price into a dollar price expressed as a fraction.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>fraction</parameter> is non-integer it is truncated.</para>
          </listitem>
          <listitem>
            <para>If <parameter>fraction</parameter> &lt;= 0, <function>DOLLARFR</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DOLLARDE"><function>DOLLARDE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DURATION">
      <refmeta>
        <refentrytitle>
          <function>DURATION</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DURATION</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DURATION</function>(<parameter>settlement</parameter>,<parameter>maturity</parameter>,<parameter>coup</parameter>,<parameter>yield</parameter>,<parameter>frequency</parameter>[,<parameter>basis</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DURATION</function> calculates the duration of a security.</para>
        <para><parameter>settlement</parameter> is the settlement date of the security.</para>
        <para><parameter>maturity</parameter> is the maturity date of the security.</para>
        <para><parameter>coup</parameter> The annual coupon rate as a percentage.</para>
        <para><parameter>yield</parameter> The annualized yield of the security as a percentage.</para>
        <para><parameter>frequency</parameter> is the number of coupon payments per year. Allowed frequencies are: 1 = annual, 2 = semi, 4 = quarterly. <parameter>basis</parameter> is the type of day counting system you want to use:</para>
        <para>  0  US 30/360</para>
        <para>  1  actual days/actual days</para>
        <para>  2  actual days/360</para>
        <para>  3  actual days/365</para>
        <para>  4  European 30/360</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>frequency</parameter> is other than 1, 2, or 4, <function>DURATION</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is omitted, US 30/360 is applied.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is not in between 0 and 4, #NUM! error is returned.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-G_DURATION"><function>G_DURATION</function></link>,
        <link linkend="gnumeric-MDURATION"><function>MDURATION</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-EFFECT">
      <refmeta>
        <refentrytitle>
          <function>EFFECT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>EFFECT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>EFFECT</function>(<parameter>r</parameter>,<parameter>nper</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>EFFECT</function> calculates the effective interest rate from a given nominal rate.</para>
        <para>Effective interest rate is calculated using this formula:</para>
        <para>    (1 + <parameter>r</parameter> / <parameter>nper</parameter>) ^ <parameter>nper</parameter> - 1</para>
        <para>where:</para>
        <para><parameter>r</parameter> = nominal interest rate (stated in yearly terms)</para>
        <para><parameter>nper</parameter> = number of periods used for compounding</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>rate</parameter> &lt; 0, <function>EFFECT</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>nper</parameter> &lt;= 0, <function>EFFECT</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>For example credit cards will list an APR (annual percentage rate) which is a nominal interest rate.</para>
        <para>For example if you wanted to find out how much you are actually paying interest on your credit card that states an APR of 19% that is compounded monthly you would type in:</para>
        <para>=<function>EFFECT</function>(.19,12) and you would get .2075 or 20.75%. That is the effective percentage you will pay on your loan.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-NOMINAL"><function>NOMINAL</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-EURO">
      <refmeta>
        <refentrytitle>
          <function>EURO</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>EURO</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>EURO</function>(<parameter>currency</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>EURO</function> converts one Euro to a given national currency in the European monetary union.</para>
        <para><parameter>currency</parameter> is one of the following:</para>
        <para>    ATS	(Austria)</para>
        <para>    BEF	(Belgium)</para>
        <para>    DEM	(Germany)</para>
        <para>    ESP	(Spain)</para>
        <para>    EUR	(Euro)</para>
        <para>    FIM	(Finland)</para>
        <para>    FRF	(France)</para>
        <para>    GRD	(Greek)</para>
        <para>    IEP	(Ireland)</para>
        <para>    ITL	(Italy)</para>
        <para>    LUF	(Luxembourg)</para>
        <para>    NLG	(Netherlands)</para>
        <para>    PTE	(Portugal)</para>
        <itemizedlist>
          <listitem>
            <para>If the given <parameter>currency</parameter> is other than one of the above, <function>EURO</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>EURO</function>("DEM") returns 1.95583.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-EUROCONVERT">
      <refmeta>
        <refentrytitle>
          <function>EUROCONVERT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>EUROCONVERT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>EUROCONVERT</function>(<parameter>n</parameter>,<parameter>source</parameter>,<parameter>target</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>EUROCONVERT</function> converts the currency value <parameter>n</parameter> of <parameter>source</parameter> currency to a target currency <parameter>target</parameter>. Both currencies are given as three-letter strings using the ISO code system names.  The following currencies are available:</para>
        <para>    ATS	(Austria)</para>
        <para>    BEF	(Belgium)</para>
        <para>    DEM	(Germany)</para>
        <para>    ESP	(Spain)</para>
        <para>    EUR	(Euro)</para>
        <para>    FIM	(Finland)</para>
        <para>    FRF	(France)</para>
        <para>    GRD	(Greek)</para>
        <para>    IEP	(Ireland)</para>
        <para>    ITL	(Italy)</para>
        <para>    LUF	(Luxembourg)</para>
        <para>    NLG	(Netherlands)</para>
        <para>    PTE	(Portugal)</para>
        <itemizedlist>
          <listitem>
            <para>If the given <parameter>source</parameter> or <parameter>target</parameter> is other than one of the above, <function>EUROCONVERT</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>EUROCONVERT</function>(2.1,"DEM","EUR") returns 1.07.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-EURO"><function>EURO</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-FV">
      <refmeta>
        <refentrytitle>
          <function>FV</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>FV</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>FV</function>(<parameter>rate</parameter>,<parameter>nper</parameter>,<parameter>pmt</parameter>[,<parameter>pv</parameter>,<parameter>type</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>FV</function> computes the future value of an investment. This is based on periodic, constant payments and a constant interest rate. The interest rate per period is <parameter>rate</parameter>, <parameter>nper</parameter> is the number of periods in an annuity, <parameter>pmt</parameter> is the payment made each period, <parameter>pv</parameter> is the present value and <parameter>type</parameter> is when the payment is made.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>type</parameter> = 1 then the payment is made at the beginning of the period.</para>
          </listitem>
          <listitem>
            <para>If <parameter>type</parameter> = 0 it is made at the end of each period.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-PV"><function>PV</function></link>,
        <link linkend="gnumeric-PMT"><function>PMT</function></link>,
        <link linkend="gnumeric-PPMT"><function>PPMT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-FVSCHEDULE">
      <refmeta>
        <refentrytitle>
          <function>FVSCHEDULE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>FVSCHEDULE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>FVSCHEDULE</function>(<parameter>principal</parameter>,<parameter>schedule</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>FVSCHEDULE</function> returns the future value of given initial value after applying a series of compound periodic interest rates. The argument <parameter>principal</parameter> is the present value; <parameter>schedule</parameter> is an array of interest rates to apply. The <parameter>schedule</parameter> argument must be a range of cells.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain interest rates 0.11, 0.13, 0.09, 0.17, and 0.03.  Then</para>
        <para><function>FVSCHEDULE</function>(3000,A1:A5) equals 4942.7911611.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-PV"><function>PV</function></link>,
        <link linkend="gnumeric-FV"><function>FV</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-G_DURATION">
      <refmeta>
        <refentrytitle>
          <function>G_DURATION</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>G_DURATION</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>G_DURATION</function>(<parameter>rate</parameter>,<parameter>pv</parameter>,<parameter>fv</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>G_DURATION</function> calculates number of periods needed for an investment to attain a desired value. This function is similar to FV and PV with a difference that we do not need give the direction of cash flows e.g. -100 for a cash outflow and +100 for a cash inflow.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>rate</parameter> &lt;= 0, <function>G_DURATION</function> returns #DIV0 error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>fv</parameter> = 0 or <parameter>pv</parameter> = 0, <function>G_DURATION</function> returns #DIV0 error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>fv</parameter> / <parameter>pv</parameter> &lt; 0, <function>G_DURATION</function> returns #VALUE error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-PPMT"><function>PPMT</function></link>,
        <link linkend="gnumeric-PV"><function>PV</function></link>,
        <link linkend="gnumeric-FV"><function>FV</function></link>,
        <link linkend="gnumeric-DURATION"><function>DURATION</function></link>,
        <link linkend="gnumeric-MDURATION"><function>MDURATION</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-INTRATE">
      <refmeta>
        <refentrytitle>
          <function>INTRATE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>INTRATE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>INTRATE</function>(<parameter>settlement</parameter>,<parameter>maturity</parameter>,<parameter>investment</parameter>,<parameter>redemption</parameter>[,<parameter>basis</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>INTRATE</function> calculates and returns the interest rate of a fully vested security.</para>
        <para><parameter>settlement</parameter> is the settlement date of the security.  <parameter>maturity</parameter> is the maturity date of the security. <parameter>investment</parameter> is the price of the security paid at <parameter>settlement</parameter> date and <parameter>redemption</parameter> is the amount to be received at <parameter>maturity</parameter> date.</para>
        <para><parameter>basis</parameter> is the type of day counting system you want to use:</para>
        <para>  0  US 30/360</para>
        <para>  1  actual days/actual days</para>
        <para>  2  actual days/360</para>
        <para>  3  actual days/365</para>
        <para>  4  European 30/360</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>settlement</parameter> date or <parameter>maturity</parameter> date is not valid, <function>INTRATE</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is omitted, US 30/360 is applied.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> &lt; 0 or <parameter>basis</parameter> &gt; 4, <function>INTRATE</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>settlement</parameter> date is after <parameter>maturity</parameter> date or they are the same, <function>INTRATE</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>If you had a bond with a settlement date of April 15, 2000, maturity date September 30, 2000, investment of $100,000, redemption value $103,525, using the actual/actual basis, the bond discount rate is:</para>
        <para>=<function>INTRATE</function>(36631, 36799, 100000, 103525, 1) which equals 0.0648 or 6.48%</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RECEIVED"><function>RECEIVED</function></link>,
        <link linkend="gnumeric-DATE"><function>DATE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IPMT">
      <refmeta>
        <refentrytitle>
          <function>IPMT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IPMT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IPMT</function>(<parameter>rate</parameter>,<parameter>per</parameter>,<parameter>nper</parameter>,<parameter>pv</parameter>[,<parameter>fv</parameter>,<parameter>type</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IPMT</function> calculates the amount of a payment of an annuity going towards interest.</para>
        <para>Formula for <function>IPMT</function> is:</para>
        <para><function>IPMT</function>(PER) = -PRINCIPAL(PER-1) * INTEREST_RATE</para>
        <para>where:</para>
        <para>PRINCIPAL(PER-1) = amount of the remaining principal from last period</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>fv</parameter> is omitted, it is assumed to be 0.</para>
          </listitem>
          <listitem>
            <para>If <parameter>type</parameter> is omitted, it is assumed to be 0.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-PPMT"><function>PPMT</function></link>,
        <link linkend="gnumeric-PV"><function>PV</function></link>,
        <link linkend="gnumeric-FV"><function>FV</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IRR">
      <refmeta>
        <refentrytitle>
          <function>IRR</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IRR</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IRR</function>(<parameter>values</parameter>[,<parameter>guess</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IRR</function> calculates and returns the internal rate of return of an investment.  This function is closely related to the net present value function (NPV).  The <function>IRR</function> is the interest rate for a series of cash flows where the net preset value is zero.</para>
        <para><parameter>values</parameter> contains the series of cash flows generated by the investment.  The payments should occur at regular intervals.  The optional <parameter>guess</parameter> is the initial value used in calculating the <function>IRR</function>.  You do not have to use that, it is only provided for the Excel compatibility.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1:A8 contain the numbers -32432, 5324, 7432, 9332, 12324, 4334, 1235, -3422.  Then</para>
        <para><function>IRR</function>(A1:A8) returns 0.04375.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-FV"><function>FV</function></link>,
        <link linkend="gnumeric-NPV"><function>NPV</function></link>,
        <link linkend="gnumeric-PV"><function>PV</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ISPMT">
      <refmeta>
        <refentrytitle>
          <function>ISPMT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ISPMT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ISPMT</function>(<parameter>rate</parameter>,<parameter>per</parameter>,<parameter>nper</parameter>,<parameter>pv</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ISPMT</function> function returns the interest paid on a given period.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>per</parameter> &lt; 1 or <parameter>per</parameter> &gt; <parameter>nper</parameter>, <function>ISPMT</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-PV"><function>PV</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-MDURATION">
      <refmeta>
        <refentrytitle>
          <function>MDURATION</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>MDURATION</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>MDURATION</function>(<parameter>settlement</parameter>,<parameter>maturity</parameter>,<parameter>coupon</parameter>,<parameter>yield</parameter>,<parameter>frequency</parameter>[,<parameter>basis</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>MDURATION</function> returns the Macauley duration for a security with par value 100.</para>
        <para><parameter>basis</parameter> is the type of day counting system you want to use:</para>
        <para>  0  MSRB 30/360 (MSRB Rule G33 (e))</para>
        <para>  1  actual days/actual days</para>
        <para>  2  actual days/360</para>
        <para>  3  actual days/365</para>
        <para>  4  European 30/360</para>
        <para>  5  European+ 30/360</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>settlement</parameter> or <parameter>maturity</parameter> are not valid dates, <function>MDURATION</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>frequency</parameter> is other than 1, 2, or 4, <function>MDURATION</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is omitted, MSRB 30/360 is applied.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is invalid, #NUM! error is returned.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DURATION"><function>DURATION</function></link>,
        <link linkend="gnumeric-G_DURATION"><function>G_DURATION</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-MIRR">
      <refmeta>
        <refentrytitle>
          <function>MIRR</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>MIRR</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>MIRR</function>(<parameter>values</parameter>,<parameter>finance_rate</parameter>,<parameter>reinvest_rate</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>MIRR</function> function returns the modified internal rate of return for a given periodic cash flow.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-NPV"><function>NPV</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-NOMINAL">
      <refmeta>
        <refentrytitle>
          <function>NOMINAL</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>NOMINAL</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>NOMINAL</function>(<parameter>r</parameter>,<parameter>nper</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>NOMINAL</function> calculates the nominal interest rate from a given effective rate.</para>
        <para>Nominal interest rate is given by a formula:</para>
        <para><parameter>nper</parameter> * (( 1 + <parameter>r</parameter> ) ^ (1 / <parameter>nper</parameter>) - 1 )</para>
        <para>where:</para>
        <para><parameter>r</parameter> = effective interest rate</para>
        <para><parameter>nper</parameter> = number of periods used for compounding</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>rate</parameter> &lt; 0, <function>NOMINAL</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>nper</parameter> &lt;= 0, <function>NOMINAL</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-EFFECT"><function>EFFECT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-NPER">
      <refmeta>
        <refentrytitle>
          <function>NPER</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>NPER</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>NPER</function>(<parameter>rate</parameter>,<parameter>pmt</parameter>,<parameter>pv</parameter>[,<parameter>fv</parameter>,<parameter>type</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>NPER</function> calculates number of periods of an investment based on periodic constant payments and a constant interest rate.</para>
        <para>The interest rate per period is <parameter>rate</parameter>, <parameter>pmt</parameter> is the payment made each period, <parameter>pv</parameter> is the present value, <parameter>fv</parameter> is the future value and <parameter>type</parameter> is when the payments are due. If <parameter>type</parameter> = 1, payments are due at the beginning of the period, if <parameter>type</parameter> = 0, payments are due at the end of the period.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>rate</parameter> &lt;= 0, <function>NPER</function> returns #DIV0 error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>For example, if you deposit $10,000 in a savings account that earns an interest rate of 6%. To calculate how many years it will take to double your investment use <function>NPER</function> as follows:</para>
        <para>=<function>NPER</function>(0.06, 0, -10000, 20000,0)returns 11.895661046 which indicates that you can double your money just before the end of the 12th year.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-PPMT"><function>PPMT</function></link>,
        <link linkend="gnumeric-PV"><function>PV</function></link>,
        <link linkend="gnumeric-FV"><function>FV</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-NPV">
      <refmeta>
        <refentrytitle>
          <function>NPV</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>NPV</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>NPV</function>(<parameter>rate</parameter>,<parameter>v1</parameter>,<parameter>v2</parameter>,<parameter/>...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>NPV</function> calculates the net present value of an investment generating periodic payments.  <parameter>rate</parameter> is the periodic interest rate and <parameter>v1</parameter>, <parameter>v2</parameter>, ... are the periodic payments.  If the schedule of the cash flows are not periodic use the XNPV function.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>NPV</function>(0.17,-10000,3340,2941,2493,3233,1732,2932) equals 186.30673.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-PV"><function>PV</function></link>,
        <link linkend="gnumeric-XNPV"><function>XNPV</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ODDFPRICE">
      <refmeta>
        <refentrytitle>
          <function>ODDFPRICE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ODDFPRICE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ODDFPRICE</function>(<parameter>settlement</parameter>,<parameter>maturity</parameter>,<parameter>issue</parameter>,<parameter>first_coupon</parameter>,<parameter>rate</parameter>,<parameter>yld</parameter>,<parameter>redemption</parameter>,<parameter>frequency</parameter>[,<parameter>basis</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ODDFPRICE</function> returns the price per $100 face value of a security. The security should have an odd short or long first period.</para>
        <para><parameter>settlement</parameter> is the settlement date of the security. <parameter>maturity</parameter> is the maturity date of the security. <parameter>issue</parameter> is the issue date of the security. <parameter>frequency</parameter> is the number of coupon payments per year. Allowed frequencies are: 1 = annual, 2 = semi, 4 = quarterly. <parameter>basis</parameter> is the type of day counting system you want to use:</para>
        <para>  0  US 30/360</para>
        <para>  1  actual days/actual days</para>
        <para>  2  actual days/360</para>
        <para>  3  actual days/365</para>
        <para>  4  European 30/360</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>frequency</parameter> is other than 1, 2, or 4, <function>ODDFPRICE</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is omitted, US 30/360 is applied.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is not in between 0 and 4, #NUM! error is returned.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ODDFYIELD">
      <refmeta>
        <refentrytitle>
          <function>ODDFYIELD</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ODDFYIELD</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ODDFYIELD</function>(<parameter>settlement</parameter>,<parameter>maturity</parameter>,<parameter>issue</parameter>,<parameter>first_coupon</parameter>,<parameter>rate</parameter>,<parameter>pr</parameter>,<parameter>redemption</parameter>,<parameter>frequency</parameter>[,<parameter>basis</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ODDFYIELD</function> calculates the yield of a security having an odd first period.</para>
        <para><parameter>settlement</parameter> is the settlement date of the security. <parameter>maturity</parameter> is the maturity date of the security. <parameter>frequency</parameter> is the number of coupon payments per year. Allowed frequencies are: 1 = annual, 2 = semi, 4 = quarterly. <parameter>basis</parameter> is the type of day counting system you want to use:</para>
        <para>  0  US 30/360</para>
        <para>  1  actual days/actual days</para>
        <para>  2  actual days/360</para>
        <para>  3  actual days/365</para>
        <para>  4  European 30/360</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>frequency</parameter> is other than 1, 2, or 4, <function>ODDFYIELD</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is omitted, US 30/360 is applied.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is not in between 0 and 4, #NUM! error is returned.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ODDLPRICE">
      <refmeta>
        <refentrytitle>
          <function>ODDLPRICE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ODDLPRICE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ODDLPRICE</function>(<parameter>settlement</parameter>,<parameter>maturity</parameter>,<parameter>last_interest</parameter>,<parameter>rate</parameter>,<parameter>yld</parameter>,<parameter>redemption</parameter>,<parameter>frequency</parameter>[,<parameter>basis</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ODDLPRICE</function> calculates the price per $100 face value of a security that has an odd last coupon period.</para>
        <para><parameter>settlement</parameter> is the settlement date of the security. <parameter>maturity</parameter> is the maturity date of the security. <parameter>frequency</parameter> is the number of coupon payments per year. Allowed frequencies are: 1 = annual, 2 = semi, 4 = quarterly. <parameter>basis</parameter> is the type of day counting system you want to use:</para>
        <para>  0  US 30/360</para>
        <para>  1  actual days/actual days</para>
        <para>  2  actual days/360</para>
        <para>  3  actual days/365</para>
        <para>  4  European 30/360</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>frequency</parameter> is other than 1, 2, or 4, <function>ODDLPRICE</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is omitted, US 30/360 is applied.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is not in between 0 and 4, #NUM! error is returned.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ODDLYIELD">
      <refmeta>
        <refentrytitle>
          <function>ODDLYIELD</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ODDLYIELD</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ODDLYIELD</function>(<parameter>settlement</parameter>,<parameter>maturity</parameter>,<parameter>last_interest</parameter>,<parameter>rate</parameter>,<parameter>pr</parameter>,<parameter>redemption</parameter>,<parameter>frequency</parameter>[,<parameter>basis</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ODDLYIELD</function> calculates the yield of a security having an odd last period.</para>
        <para><parameter>settlement</parameter> is the settlement date of the security. <parameter>maturity</parameter> is the maturity date of the security. <parameter>frequency</parameter> is the number of coupon payments per year. Allowed frequencies are: 1 = annual, 2 = semi, 4 = quarterly. <parameter>basis</parameter> is the type of day counting system you want to use:</para>
        <para>  0  US 30/360</para>
        <para>  1  actual days/actual days</para>
        <para>  2  actual days/360</para>
        <para>  3  actual days/365</para>
        <para>  4  European 30/360</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>frequency</parameter> is other than 1, 2, or 4, <function>ODDLYIELD</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is omitted, US 30/360 is applied.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is not in between 0 and 4, #NUM! error is returned.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_2_ASSET_CORRELATION">
      <refmeta>
        <refentrytitle>
          <function>OPT_2_ASSET_CORRELATION</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_2_ASSET_CORRELATION</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_2_ASSET_CORRELATION</function>(<parameter>call_put_flag</parameter>,<parameter>spot1</parameter>,<parameter>spot2</parameter>,<parameter>strike1</parameter>,<parameter>strike2</parameter>,<parameter>time</parameter>,<parameter>cost_of_carry1</parameter>,<parameter>cost_of_carry2</parameter>,<parameter>rate</parameter>,<parameter>volatility1</parameter>,<parameter>volatility2</parameter>,<parameter>rho</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OPT_2_ASSET_CORRELATION</function> models the theoretical price of  options on 2 assets with correlation <parameter>rho</parameter>.</para>
        <para>The payoff for a call is max(<parameter>spot2</parameter> - <parameter>strike2</parameter>,0) if <parameter>spot1</parameter> &gt; <parameter>strike1</parameter> or 0 otherwise.</para>
        <para>The payoff for a put is max (<parameter>strike2</parameter> - <parameter>spot2</parameter>, 0) if <parameter>spot1</parameter> &lt; <parameter>strike1</parameter> or 0 otherwise.</para>
        <para><parameter>call_put_flag</parameter> is 'c' or 'p' to indicate whether the option is a call or a put.</para>
        <para><parameter>spot1</parameter> &amp; <parameter>spot2</parameter> are the spot prices of the underlying assets.</para>
        <para><parameter>strike1</parameter> &amp; <parameter>strike2</parameter> are the strike prices at which the option is struck.</para>
        <para><parameter>time</parameter> is the initial maturity of the option in years.</para>
        <para><parameter>rate</parameter> is the annualized risk-free rate of interest.</para>
        <para><parameter>cost_of_carry1</parameter> &amp; <parameter>cost_of_carry2</parameter> are the leakage in value of the underlying assets, for common stocks, this would be the dividend yield.</para>
        <para><parameter>volatility1</parameter> &amp; <parameter>volatility2</parameter> are the annualized volatility in price of the underlying assets.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_BS"><function>OPT_BS</function></link>,
        <link linkend="gnumeric-OPT_BS_DELTA"><function>OPT_BS_DELTA</function></link>,
        <link linkend="gnumeric-OPT_BS_RHO"><function>OPT_BS_RHO</function></link>,
        <link linkend="gnumeric-OPT_BS_THETA"><function>OPT_BS_THETA</function></link>,
        <link linkend="gnumeric-OPT_BS_GAMMA"><function>OPT_BS_GAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_AMER_EXCHANGE">
      <refmeta>
        <refentrytitle>
          <function>OPT_AMER_EXCHANGE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_AMER_EXCHANGE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_AMER_EXCHANGE</function>(<parameter>spot1</parameter>,<parameter>spot2</parameter>,<parameter>qty1</parameter>,<parameter>qty2</parameter>,<parameter>time</parameter>,<parameter>rate</parameter>,<parameter>cost_of_carry1</parameter>,<parameter>cost_of_carry2</parameter>,<parameter>volatility1</parameter>,<parameter/> volatility2,<parameter/> rho)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OPT_AMER_EXCHANGE</function> models the theoretical price of an American option to exchange one asset with quantity <parameter>qty2</parameter> and spot price <parameter>spot2</parameter> for another, with quantity <parameter>qty1</parameter> and spot price <parameter>spot1</parameter>.</para>
        <para><parameter>time</parameter> is the initial maturity of the option in years.</para>
        <para><parameter>rate</parameter> is the annualized risk-free rate of interest.</para>
        <para><parameter>cost_of_carry1</parameter> &amp; <parameter>cost_of_carry2</parameter> are the leakage in value of the underlying assets, for common stocks, this would be the dividend yield.</para>
        <para><parameter>volatility1</parameter> &amp; <parameter>volatility2</parameter> are the annualized volatility in price of the underlying assets.</para>
        <para><parameter>rho</parameter> is the correlation between the two assets.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_EURO_EXCHANGE"><function>OPT_EURO_EXCHANGE</function></link>,
        <link linkend="gnumeric-OPT_BS"><function>OPT_BS</function></link>,
        <link linkend="gnumeric-OPT_BS_DELTA"><function>OPT_BS_DELTA</function></link>,
        <link linkend="gnumeric-OPT_BS_RHO"><function>OPT_BS_RHO</function></link>,
        <link linkend="gnumeric-OPT_BS_THETA"><function>OPT_BS_THETA</function></link>,
        <link linkend="gnumeric-OPT_BS_GAMMA"><function>OPT_BS_GAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_BAW_AMER">
      <refmeta>
        <refentrytitle>
          <function>OPT_BAW_AMER</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_BAW_AMER</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_BAW_AMER</function>(<parameter>call_put_flag</parameter>,<parameter>spot</parameter>,<parameter>strike</parameter>,<parameter>time</parameter>,<parameter>rate</parameter>,<parameter>cost_of_carry</parameter>,<parameter>volatility</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OPT_BAW_AMER</function> models the theoretical price of an option according to the Barone Adesie &amp; Whaley approximation.</para>
        <para><parameter>call_put_flag</parameter> is 'c' or 'p' to indicate whether the option is a call or a put.</para>
        <para><parameter>spot</parameter> is the spot price of the underlying asset.</para>
        <para><parameter>strike</parameter> is the strike price at which the option is struck.</para>
        <para><parameter>time</parameter> is the number of days to maturity of the option.</para>
        <para><parameter>rate</parameter> is the annualized risk-free rate of interest.</para>
        <para><parameter>cost_of_carry</parameter> is the leakage in value of the underlying asset, for common stocks, this would be the dividend yield.</para>
        <para><parameter>volatility</parameter> is the annualized volatility in price of the underlying asset.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_BS"><function>OPT_BS</function></link>,
        <link linkend="gnumeric-OPT_BS_DELTA"><function>OPT_BS_DELTA</function></link>,
        <link linkend="gnumeric-OPT_BS_RHO"><function>OPT_BS_RHO</function></link>,
        <link linkend="gnumeric-OPT_BS_THETA"><function>OPT_BS_THETA</function></link>,
        <link linkend="gnumeric-OPT_BS_GAMMA"><function>OPT_BS_GAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_BINOMIAL">
      <refmeta>
        <refentrytitle>
          <function>OPT_BINOMIAL</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_BINOMIAL</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_BINOMIAL</function>(<parameter>amer_euro_flag</parameter>,<parameter>call_put_flag</parameter>,<parameter>num_time_steps</parameter>,<parameter/> spot,<parameter/> strike,<parameter/> time,<parameter/> rate,<parameter/> volatility,<parameter/> cost_of_carry)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>OPT_ models the theoretical price of either an American or European style option using a binomial tree.</para>
        <para><parameter>amer_euro_flag</parameter> is either 'a' or 'e' to indicate whether the option being valued is an American or European style option respectively.</para>
        <para><parameter>call_put_flag</parameter> is 'c' or 'p' to indicate whether the option is a call or a put.</para>
        <para><parameter>num_time_steps</parameter> is the number of time steps used in the valuation, a greater number of time steps yields greater accuracy however is slower to calculate.</para>
        <para><parameter>spot</parameter> is the spot price of the underlying asset.</para>
        <para><parameter>strike</parameter> is the strike price at which the option is struck.</para>
        <para><parameter>time</parameter> is the initial maturity of the option in years.</para>
        <para><parameter>rate</parameter> is the annualized risk-free rate of interest.</para>
        <para><parameter>volatility</parameter> is the annualized volatility in price of the underlying asset.</para>
        <para><parameter>cost_of_carry</parameter> is the leakage in value of the underlying asset.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_BS"><function>OPT_BS</function></link>,
        <link linkend="gnumeric-OPT_BS_DELTA"><function>OPT_BS_DELTA</function></link>,
        <link linkend="gnumeric-OPT_BS_RHO"><function>OPT_BS_RHO</function></link>,
        <link linkend="gnumeric-OPT_BS_THETA"><function>OPT_BS_THETA</function></link>,
        <link linkend="gnumeric-OPT_BS_GAMMA"><function>OPT_BS_GAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_BJER_STENS">
      <refmeta>
        <refentrytitle>
          <function>OPT_BJER_STENS</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_BJER_STENS</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_BJER_STENS</function>(<parameter>call_put_flag</parameter>,<parameter>spot</parameter>,<parameter>strike</parameter>,<parameter>time</parameter>,<parameter>rate</parameter>,<parameter>volatility</parameter>[,<parameter>cost_of_carry</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OPT_BJER_STENS</function> models the theoretical price of american options according to the Bjerksund &amp; Stensland approximation technique.</para>
        <para><parameter>call_put_flag</parameter> is 'c' or 'p' to indicate whether the option is a call or a put.</para>
        <para><parameter>spot</parameter> is the spot price of the underlying asset.</para>
        <para><parameter>strike</parameter> is the strike price at which the option is struck.</para>
        <para><parameter>time</parameter> is the number of days to maturity of the option.</para>
        <para><parameter>rate</parameter> is the annualized risk-free rate of interest.</para>
        <para><parameter>volatility</parameter> is the annualized volatility in price of the underlying asset.</para>
        <para><parameter>cost_of_carry</parameter> is the leakage in value of the underlying asset, for common stocks, this would be the dividend yield.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_BS"><function>OPT_BS</function></link>,
        <link linkend="gnumeric-OPT_BS_DELTA"><function>OPT_BS_DELTA</function></link>,
        <link linkend="gnumeric-OPT_BS_RHO"><function>OPT_BS_RHO</function></link>,
        <link linkend="gnumeric-OPT_BS_THETA"><function>OPT_BS_THETA</function></link>,
        <link linkend="gnumeric-OPT_BS_GAMMA"><function>OPT_BS_GAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_BS">
      <refmeta>
        <refentrytitle>
          <function>OPT_BS</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_BS</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_BS</function>(<parameter>call_put_flag</parameter>,<parameter>spot</parameter>,<parameter>strike</parameter>,<parameter>time</parameter>,<parameter>rate</parameter>,<parameter>volatility</parameter> [,<parameter>cost_of_carry</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OPT_BS</function> uses the Black-Scholes model to calculate the price of a European option using call_put_flag, <parameter>call_put_flag</parameter>, 'c' or 'p' struck at <parameter>strike</parameter> on an asset with spot price <parameter>spot</parameter>.</para>
        <para><parameter>time</parameter> is the time to maturity of the option expressed in years.</para>
        <para><parameter>rate</parameter> is the risk-free interest rate.</para>
        <para><parameter>volatility</parameter> is the annualized volatility, in percent, of the asset for the period through to the exercise date.</para>
        <para><parameter>cost_of_carry</parameter> is the leakage in value of the underlying asset, for common stocks, this would be the dividend yield.</para>
        <itemizedlist>
          <listitem>
            <para>The returned value will be expressed in the same units as <parameter>strike</parameter> and <parameter>spot</parameter>.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_BS_DELTA"><function>OPT_BS_DELTA</function></link>,
        <link linkend="gnumeric-OPT_BS_RHO"><function>OPT_BS_RHO</function></link>,
        <link linkend="gnumeric-OPT_BS_THETA"><function>OPT_BS_THETA</function></link>,
        <link linkend="gnumeric-OPT_BS_VEGA"><function>OPT_BS_VEGA</function></link>,
        <link linkend="gnumeric-OPT_BS_GAMMA"><function>OPT_BS_GAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_BS_CARRYCOST">
      <refmeta>
        <refentrytitle>
          <function>OPT_BS_CARRYCOST</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_BS_CARRYCOST</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_BS_CARRYCOST</function>(<parameter>call_put_flag</parameter>,<parameter>spot</parameter>,<parameter>strike</parameter>,<parameter>time</parameter>,<parameter>rate</parameter>,<parameter>volatility</parameter>[,<parameter>cost_of_carry</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OPT_BS_CARRYCOST</function> uses the Black-Scholes model to calculate the 'elasticity' of a European option struck at <parameter>strike</parameter> on an asset with spot price <parameter>spot</parameter>.</para>
        <para><parameter>call_put_flag</parameter> is 'c' or 'p' to indicate whether the option is a call or a put.</para>
        <para>(The elasticity of an option is the rate of change of its price with respect to its cost of carry.)</para>
        <para><parameter>volatility</parameter> is the annualized volatility, in percent, of the asset for the period through to the exercise date.  <parameter>time</parameter> is the time to maturity of the option expressed in years.</para>
        <para><parameter>rate</parameter> is the risk-free interest rate to the exercise date, in percent.</para>
        <para><parameter>cost_of_carry</parameter> is the leakage in value of the underlying asset, for common stocks, this would be the dividend yield.</para>
        <itemizedlist>
          <listitem>
            <para>The returned value will be expressed as the rate of change of option value, per 100% volatility.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_BS"><function>OPT_BS</function></link>,
        <link linkend="gnumeric-OPT_BS_DELTA"><function>OPT_BS_DELTA</function></link>,
        <link linkend="gnumeric-OPT_BS_RHO"><function>OPT_BS_RHO</function></link>,
        <link linkend="gnumeric-OPT_BS_THETA"><function>OPT_BS_THETA</function></link>,
        <link linkend="gnumeric-OPT_BS_GAMMA"><function>OPT_BS_GAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_BS_DELTA">
      <refmeta>
        <refentrytitle>
          <function>OPT_BS_DELTA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_BS_DELTA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_BS_DELTA</function>(<parameter>call_put_flag</parameter>,<parameter>spot</parameter>,<parameter>strike</parameter>,<parameter>time</parameter>,<parameter>rate</parameter>,<parameter>volatility</parameter>[,<parameter>cost_of_carry</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OPT_BS_DELTA</function> uses the Black-Scholes model to calculate the 'delta' of a European option with call_put_flag, <parameter>call_put_flag</parameter>, 'c' or 'p' struck at <parameter>strike</parameter> on an asset with spot price <parameter>spot</parameter>.</para>
        <para>Where <parameter>time</parameter> is the time to maturity of the option expressed in years.</para>
        <para><parameter>rate</parameter> is the risk-free interest rate.</para>
        <para><parameter>volatility</parameter> is the annualized volatility, in percent, of the asset for the period through to the exercise date.</para>
        <para><parameter>cost_of_carry</parameter> is the leakage in value of the underlying asset, for common stocks, this would be the dividend yield.</para>
        <itemizedlist>
          <listitem>
            <para>The returned value will be expressed in the same units as <parameter>strike</parameter> and <parameter>spot</parameter>.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_BS"><function>OPT_BS</function></link>,
        <link linkend="gnumeric-OPT_BS_RHO"><function>OPT_BS_RHO</function></link>,
        <link linkend="gnumeric-OPT_BS_THETA"><function>OPT_BS_THETA</function></link>,
        <link linkend="gnumeric-OPT_BS_VEGA"><function>OPT_BS_VEGA</function></link>,
        <link linkend="gnumeric-OPT_BS_GAMMA"><function>OPT_BS_GAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_BS_GAMMA">
      <refmeta>
        <refentrytitle>
          <function>OPT_BS_GAMMA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_BS_GAMMA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_BS_GAMMA</function>(<parameter>spot</parameter>,<parameter>strike</parameter>,<parameter>time</parameter>,<parameter>rate</parameter>,<parameter>volatility</parameter>[,<parameter>cost_of_carry</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OPT_BS_GAMMA</function> uses the Black-Scholes model to calculate the 'gamma' of a European option struck at <parameter>strike</parameter> on an asset with spot price <parameter>spot</parameter>.</para>
        <para>(The gamma of an option is the second derivative of its price with respect to the price of the underlying asset, and is the same for calls and puts.)</para>
        <para><parameter>time</parameter> is the time to maturity of the option expressed in years.</para>
        <para><parameter>rate</parameter> is the risk-free interest rate to the exercise date, in percent.</para>
        <para><parameter>volatility</parameter> is the annualized volatility, in percent, of the asset for the period through to the exercise date.</para>
        <para><parameter>cost_of_carry</parameter> is the leakage in value of the underlying asset, for common stocks, this would be the dividend yield.</para>
        <itemizedlist>
          <listitem>
            <para>The returned value will be expressed as the rate of change of delta per unit change in <parameter>spot</parameter>.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_BS"><function>OPT_BS</function></link>,
        <link linkend="gnumeric-OPT_BS_DELTA"><function>OPT_BS_DELTA</function></link>,
        <link linkend="gnumeric-OPT_BS_RHO"><function>OPT_BS_RHO</function></link>,
        <link linkend="gnumeric-OPT_BS_THETA"><function>OPT_BS_THETA</function></link>,
        <link linkend="gnumeric-OPT_BS_VEGA"><function>OPT_BS_VEGA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_BS_RHO">
      <refmeta>
        <refentrytitle>
          <function>OPT_BS_RHO</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_BS_RHO</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_BS_RHO</function>(<parameter>call_put_flag</parameter>,<parameter>spot</parameter>,<parameter>strike</parameter>,<parameter>time</parameter>,<parameter>rate</parameter>,<parameter>volatility</parameter>[,<parameter>cost_of_carry</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OPT_BS_RHO</function> uses the Black-Scholes model to calculate the 'rho' of a European option with call_put_flag, <parameter>call_put_flag</parameter> struck at <parameter>strike</parameter> on an asset with spot price <parameter>spot</parameter>.</para>
        <para><parameter>call_put_flag</parameter> is 'c' or 'p' to indicate whether the option is a call or a put.</para>
        <para>(The rho of an option is the rate of change of its price with respect to the risk free interest rate.)</para>
        <para><parameter>time</parameter> is the time to maturity of the option expressed in years.</para>
        <para><parameter>rate</parameter> is the risk-free interest rate to the exercise date, in percent.</para>
        <para><parameter>cost_of_carry</parameter> is the leakage in value of the underlying asset, for common stocks, this would be the dividend yield.</para>
        <itemizedlist>
          <listitem>
            <para>The returned value will be expressed as the rate of change of option value, per 100% change in <parameter>rate</parameter>.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_BS"><function>OPT_BS</function></link>,
        <link linkend="gnumeric-OPT_BS_DELTA"><function>OPT_BS_DELTA</function></link>,
        <link linkend="gnumeric-OPT_BS_THETA"><function>OPT_BS_THETA</function></link>,
        <link linkend="gnumeric-OPT_BS_VEGA"><function>OPT_BS_VEGA</function></link>,
        <link linkend="gnumeric-OPT_BS_GAMMA"><function>OPT_BS_GAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_BS_THETA">
      <refmeta>
        <refentrytitle>
          <function>OPT_BS_THETA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_BS_THETA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_BS_THETA</function>(<parameter>call_put_flag</parameter>,<parameter>spot</parameter>,<parameter>strike</parameter>,<parameter>time</parameter>,<parameter>rate</parameter>,<parameter>volatility</parameter>[,<parameter>cost_of_carry</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OPT_BS_THETA</function> uses the Black-Scholes model to calculate the 'theta' of a European option with call_put_flag, <parameter>call_put_flag</parameter> struck at <parameter>strike</parameter> on an asset with spot price <parameter>spot</parameter>.</para>
        <para>(The theta of an option is the rate of change of its price with respect to time to expiry.)</para>
        <para><parameter>time</parameter> is the time to maturity of the option expressed in years</para>
        <para>and <parameter>rate</parameter> is the risk-free interest rate to the exercise date, in percent.</para>
        <para><parameter>volatility</parameter> is the annualized volatility, in percent, of the asset for the period through to the exercise date.</para>
        <para><parameter>cost_of_carry</parameter> is the leakage in value of the underlying asset, for common stocks, this would be the dividend yield.</para>
        <itemizedlist>
          <listitem>
            <para>The returned value will be expressed as minus the rate of change of option value, per 365.25 days.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_BS"><function>OPT_BS</function></link>,
        <link linkend="gnumeric-OPT_BS_DELTA"><function>OPT_BS_DELTA</function></link>,
        <link linkend="gnumeric-OPT_BS_RHO"><function>OPT_BS_RHO</function></link>,
        <link linkend="gnumeric-OPT_BS_VEGA"><function>OPT_BS_VEGA</function></link>,
        <link linkend="gnumeric-OPT_BS_GAMMA"><function>OPT_BS_GAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_BS_VEGA">
      <refmeta>
        <refentrytitle>
          <function>OPT_BS_VEGA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_BS_VEGA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_BS_VEGA</function>(<parameter>spot</parameter>,<parameter>strike</parameter>,<parameter>time</parameter>,<parameter>rate</parameter>,<parameter>volatility</parameter>[,<parameter>cost_of_carry</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OPT_BS_VEGA</function> uses the Black-Scholes model to calculate the 'vega' of a European option struck at <parameter>strike</parameter> on an asset with spot price <parameter>spot</parameter>.</para>
        <para>(The vega of an option is the rate of change of its price with respect to volatility, and is the same for calls and puts.)</para>
        <para><parameter>volatility</parameter> is the annualized volatility, in percent, of the asset for the period through to the exercise date.</para>
        <para><parameter>time</parameter> is the time to maturity of the option expressed in years.</para>
        <para><parameter>rate</parameter> is the risk-free interest rate to the exercise date, in percent.</para>
        <para><parameter>cost_of_carry</parameter> is the leakage in value of the underlying asset, for common stocks, this would be the dividend yield.</para>
        <itemizedlist>
          <listitem>
            <para>The returned value will be expressed as the rate of change of option value, per 100% volatility.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_BS"><function>OPT_BS</function></link>,
        <link linkend="gnumeric-OPT_BS_DELTA"><function>OPT_BS_DELTA</function></link>,
        <link linkend="gnumeric-OPT_BS_RHO"><function>OPT_BS_RHO</function></link>,
        <link linkend="gnumeric-OPT_BS_THETA"><function>OPT_BS_THETA</function></link>,
        <link linkend="gnumeric-OPT_BS_GAMMA"><function>OPT_BS_GAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_COMPLEX_CHOOSER">
      <refmeta>
        <refentrytitle>
          <function>OPT_COMPLEX_CHOOSER</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_COMPLEX_CHOOSER</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_COMPLEX_CHOOSER</function>(<parameter>call_put_flag</parameter>,<parameter>spot</parameter>,<parameter>strike_call</parameter>,<parameter>strike_put</parameter>,<parameter>time</parameter>,<parameter>time_call</parameter>,<parameter>time_put</parameter>,<parameter>rate</parameter>,<parameter>cost_of_carry</parameter>,<parameter>volatility</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OPT_COMPLEX_CHOOSER</function> models the theoretical price of complex chooser options.</para>
        <para><parameter>call_put_flag</parameter> is 'c' or 'p' to indicate whether the option is a call or a put.</para>
        <para><parameter>spot</parameter> is the spot price of the underlying asset.</para>
        <para><parameter>strike_call</parameter> is the strike price at which the option is struck, applicable if exercised as a call option.</para>
        <para><parameter>strike_put</parameter> is the strike price at which the option is struck, applicable if exercised as a put option.</para>
        <para><parameter>time</parameter> is the time in years until the holder chooses a put or a call option.</para>
        <para><parameter>time_call</parameter> is the time in years to maturity of the call option if chosen.</para>
        <para><parameter>time_put</parameter> is the time in years  to maturity of the put option if chosen.</para>
        <para><parameter>rate</parameter> is the annualized risk-free rate of interest.</para>
        <para><parameter>cost_of_carry</parameter> is the leakage in value of the underlying asset, for common stocks, this would be the dividend yield.</para>
        <para><parameter>volatility</parameter> is the annualized volatility in price of the underlying asset.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_BS"><function>OPT_BS</function></link>,
        <link linkend="gnumeric-OPT_BS_DELTA"><function>OPT_BS_DELTA</function></link>,
        <link linkend="gnumeric-OPT_BS_RHO"><function>OPT_BS_RHO</function></link>,
        <link linkend="gnumeric-OPT_BS_THETA"><function>OPT_BS_THETA</function></link>,
        <link linkend="gnumeric-OPT_BS_GAMMA"><function>OPT_BS_GAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_EURO_EXCHANGE">
      <refmeta>
        <refentrytitle>
          <function>OPT_EURO_EXCHANGE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_EURO_EXCHANGE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_EURO_EXCHANGE</function>(<parameter>spot1</parameter>,<parameter>spot2</parameter>,<parameter>qty1</parameter>,<parameter>qty2</parameter>,<parameter>time</parameter>,<parameter>rate</parameter>,<parameter>cost_of_carry1</parameter>,<parameter>cost_of_carry2</parameter>,<parameter>volatility1</parameter>,<parameter>volatility2</parameter>,<parameter>rho</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OPT_EURO_EXCHANGE</function> models the theoretical price of a European option to exchange one asset with quantity <parameter>qty2</parameter> and spot price <parameter>spot2</parameter> for another, with quantity <parameter>qty1</parameter> and spot price <parameter>spot1</parameter>.</para>
        <para><parameter>time</parameter> is the initial maturity of the option in years.</para>
        <para><parameter>rate</parameter> is the annualized risk-free rate of interest.</para>
        <para><parameter>cost_of_carry1</parameter> &amp; <parameter>cost_of_carry2</parameter> are the leakage in value of the underlying assets, for common stocks, this would be the dividend yield.</para>
        <para><parameter>volatility1</parameter> &amp; <parameter>volatility2</parameter> are the annualized volatility in price of the underlying assets.</para>
        <para><parameter>rho</parameter> is the correlation between the two assets.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_AMER_EXCHANGE"><function>OPT_AMER_EXCHANGE</function></link>,
        <link linkend="gnumeric-OPT_BS"><function>OPT_BS</function></link>,
        <link linkend="gnumeric-OPT_BS_DELTA"><function>OPT_BS_DELTA</function></link>,
        <link linkend="gnumeric-OPT_BS_RHO"><function>OPT_BS_RHO</function></link>,
        <link linkend="gnumeric-OPT_BS_THETA"><function>OPT_BS_THETA</function></link>,
        <link linkend="gnumeric-OPT_BS_GAMMA"><function>OPT_BS_GAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_EXEC">
      <refmeta>
        <refentrytitle>
          <function>OPT_EXEC</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_EXEC</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_EXEC</function>(<parameter>call_put_flag</parameter>,<parameter>spot</parameter>,<parameter>strike</parameter>,<parameter>time</parameter>,<parameter>rate</parameter>,<parameter>volatility</parameter>,<parameter>cost_of_carry</parameter>,<parameter>lambda</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OPT_EXEC</function> models the theoretical price of executive stock options <parameter>call_put_flag</parameter> is 'c' or 'p' to indicate whether the option is a call or a put.</para>
        <para>One would expect this to always be a call option.</para>
        <para><parameter>spot</parameter> is the spot price of the underlying asset.</para>
        <para><parameter>strike</parameter> is the strike price at which the option is struck.</para>
        <para><parameter>time</parameter> is the number of days to maturity of the option.</para>
        <para><parameter>rate</parameter> is the annualized risk-free rate of interest.</para>
        <para><parameter>volatility</parameter> is the annualized volatility in price of the underlying asset.</para>
        <para><parameter>cost_of_carry</parameter> is the leakage in value of the underlying asset, for common stocks, this would be the dividend yield.</para>
        <para><parameter>lambda</parameter> is the jump rate for executives. The model assumes executives forfeit their options if they leave the company.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_BS"><function>OPT_BS</function></link>,
        <link linkend="gnumeric-OPT_BS_DELTA"><function>OPT_BS_DELTA</function></link>,
        <link linkend="gnumeric-OPT_BS_RHO"><function>OPT_BS_RHO</function></link>,
        <link linkend="gnumeric-OPT_BS_THETA"><function>OPT_BS_THETA</function></link>,
        <link linkend="gnumeric-OPT_BS_GAMMA"><function>OPT_BS_GAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_EXTENDIBLE_WRITER">
      <refmeta>
        <refentrytitle>
          <function>OPT_EXTENDIBLE_WRITER</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_EXTENDIBLE_WRITER</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_EXTENDIBLE_WRITER</function>(<parameter>call_put_flag</parameter>,<parameter>spot</parameter>,<parameter>strike1</parameter>,<parameter>strike2</parameter>,<parameter>time1</parameter>,<parameter>time2</parameter>,<parameter>rate</parameter>,<parameter>cost_of_carry</parameter>,<parameter>volatility</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OPT_EXTENDIBLE_WRITER</function> models the theoretical price of extendible writer options. These are options that can be exercised at an initial period, <parameter>time1</parameter>, or their maturity extended to <parameter>time2</parameter> if the option is out of the money at <parameter>time1</parameter>.</para>
        <para><parameter>call_put_flag</parameter> is 'c' or 'p' to indicate whether the option is a call or a put.</para>
        <para><parameter>spot</parameter> is the spot price of the underlying asset.</para>
        <para><parameter>strike1</parameter> is the strike price at which the option is struck.</para>
        <para><parameter>strike2</parameter> is the strike price at which the option is re-struck if out of the money at <parameter>time1</parameter>.</para>
        <para><parameter>time1</parameter> is the initial maturity of the option in years.</para>
        <para><parameter>time2</parameter> is the is the extended maturity in years if chosen.</para>
        <para><parameter>rate</parameter> is the annualized risk-free rate of interest.</para>
        <para><parameter>cost_of_carry</parameter> is the leakage in value of the underlying asset, for common stocks, this would be the dividend yield.</para>
        <para><parameter>volatility</parameter> is the annualized volatility in price of the underlying asset.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_BS"><function>OPT_BS</function></link>,
        <link linkend="gnumeric-OPT_BS_DELTA"><function>OPT_BS_DELTA</function></link>,
        <link linkend="gnumeric-OPT_BS_RHO"><function>OPT_BS_RHO</function></link>,
        <link linkend="gnumeric-OPT_BS_THETA"><function>OPT_BS_THETA</function></link>,
        <link linkend="gnumeric-OPT_BS_GAMMA"><function>OPT_BS_GAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_FIXED_STRK_LKBK">
      <refmeta>
        <refentrytitle>
          <function>OPT_FIXED_STRK_LKBK</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_FIXED_STRK_LKBK</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_FIXED_STRK_LKBK</function>(<parameter>call_put_flag</parameter>,<parameter>spot</parameter>,<parameter>spot_min</parameter>,<parameter>spot_max</parameter>,<parameter>strike</parameter>,<parameter>time</parameter>,<parameter>rate</parameter>,<parameter>cost_of_carry</parameter>,<parameter>volatility</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OPT_FIXED_STRK_LKBK</function> models the theoretical price of an option where the holder of the option may exercise on expiry at the most favourable price observed during the options life of the underlying asset.</para>
        <para><parameter>call_put_flag</parameter> is 'c' or 'p' to indicate whether the option is a call or a put.</para>
        <para><parameter>spot</parameter> is the spot price of the underlying asset.</para>
        <para><parameter>spot_min</parameter> is the minimum spot price of the underlying asset so far observed.</para>
        <para><parameter>spot_max</parameter> is the maximum spot price of the underlying asset so far observed.</para>
        <para><parameter>strike</parameter> is the strike prices at which the option is struck.</para>
        <para><parameter>time</parameter> is the initial maturity of the option in years.</para>
        <para><parameter>rate</parameter> is the annualized risk-free rate of interest.</para>
        <para><parameter>cost_of_carry</parameter> is the leakage in value of the underlying asset, for common stocks, this would be the dividend yield.</para>
        <para><parameter>volatility</parameter> is the annualized volatility in price of the underlying asset.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_BS"><function>OPT_BS</function></link>,
        <link linkend="gnumeric-OPT_BS_DELTA"><function>OPT_BS_DELTA</function></link>,
        <link linkend="gnumeric-OPT_BS_RHO"><function>OPT_BS_RHO</function></link>,
        <link linkend="gnumeric-OPT_BS_THETA"><function>OPT_BS_THETA</function></link>,
        <link linkend="gnumeric-OPT_BS_GAMMA"><function>OPT_BS_GAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_FLOAT_STRK_LKBK">
      <refmeta>
        <refentrytitle>
          <function>OPT_FLOAT_STRK_LKBK</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_FLOAT_STRK_LKBK</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_FLOAT_STRK_LKBK</function>(<parameter>call_put_flag</parameter>,<parameter>spot</parameter>,<parameter>spot_min</parameter>,<parameter>spot_max</parameter>,<parameter>time</parameter>,<parameter>rate</parameter>,<parameter>cost_of_carry</parameter>,<parameter>volatility</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OPT_FLOAT_STRK_LKBK</function> models the theoretical price of an option where the holder of the option may exercise on expiry at the most favourable price observed during the options life of the underlying asset.</para>
        <para><parameter>call_put_flag</parameter> is 'c' or 'p' to indicate whether the option is a call or a put.</para>
        <para><parameter>spot</parameter> is the spot price of the underlying asset.</para>
        <para><parameter>spot_min</parameter> is the minimum spot price of the underlying asset so far observed.</para>
        <para><parameter>spot_max</parameter> is the maximum spot price of the underlying asset so far observed.</para>
        <para><parameter>time</parameter> is the initial maturity of the option in years.</para>
        <para><parameter>rate</parameter> is the annualized risk-free rate of interest.</para>
        <para><parameter>cost_of_carry</parameter> is the leakage in value of the underlying asset, for common stocks, this would be the dividend yield.</para>
        <para><parameter>volatility</parameter> is the annualized volatility in price of the underlying asset.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_BS"><function>OPT_BS</function></link>,
        <link linkend="gnumeric-OPT_BS_DELTA"><function>OPT_BS_DELTA</function></link>,
        <link linkend="gnumeric-OPT_BS_RHO"><function>OPT_BS_RHO</function></link>,
        <link linkend="gnumeric-OPT_BS_THETA"><function>OPT_BS_THETA</function></link>,
        <link linkend="gnumeric-OPT_BS_GAMMA"><function>OPT_BS_GAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_FORWARD_START">
      <refmeta>
        <refentrytitle>
          <function>OPT_FORWARD_START</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_FORWARD_START</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_FORWARD_START</function>(<parameter>call_put_flag</parameter>,<parameter>spot</parameter>,<parameter>alpha</parameter>,<parameter>time1</parameter>,<parameter>time</parameter>,<parameter>rate</parameter>,<parameter>volatility</parameter>,<parameter>cost_of_carry</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OPT_FORWARD_START</function> models the theoretical price of forward start options</para>
        <para><parameter>call_put_flag</parameter> is 'c' or 'p' to indicate whether the option is a call or a put.</para>
        <para><parameter>spot</parameter> is the spot price of the underlying asset.</para>
        <para><parameter>alpha</parameter> is a fraction that set the strike price the future date <parameter>time1</parameter>.</para>
        <para><parameter>time1</parameter> is the number of days until the option starts.</para>
        <para><parameter>time</parameter> is the number of days to maturity of the option.</para>
        <para><parameter>rate</parameter> is the annualized risk-free rate of interest.</para>
        <para><parameter>volatility</parameter> is the annualized volatility in price of the underlying asset.</para>
        <para><parameter>cost_of_carry</parameter> is the leakage in value of the underlying asset, for common stocks, this would be the dividend yield.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_BS"><function>OPT_BS</function></link>,
        <link linkend="gnumeric-OPT_BS_DELTA"><function>OPT_BS_DELTA</function></link>,
        <link linkend="gnumeric-OPT_BS_RHO"><function>OPT_BS_RHO</function></link>,
        <link linkend="gnumeric-OPT_BS_THETA"><function>OPT_BS_THETA</function></link>,
        <link linkend="gnumeric-OPT_BS_GAMMA"><function>OPT_BS_GAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_FRENCH">
      <refmeta>
        <refentrytitle>
          <function>OPT_FRENCH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_FRENCH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_FRENCH</function>(<parameter>call_put_flag</parameter>,<parameter>spot</parameter>,<parameter>strike</parameter>,<parameter>time</parameter>,<parameter>t2</parameter>,<parameter>rate</parameter>,<parameter>volatility</parameter>[,<parameter>cost_of_carry</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OPT_FRENCH</function> values the theoretical price of a European option adjusted for trading day volatility, struck at <parameter>strike</parameter> on an asset with spot price <parameter>spot</parameter>.</para>
        <para><parameter>call_put_flag</parameter> is 'c' or 'p' to indicate whether the option is a call or a put.</para>
        <para><parameter>volatility</parameter> is the annualized volatility, in percent, of the asset for the period through to the exercise date.</para>
        <para><parameter>time</parameter> the number of calendar days to exercise divided by calendar days in the year.</para>
        <para><parameter>t2</parameter> is the number of trading days to exercise divided by trading days in the year.</para>
        <para><parameter>rate</parameter> is the risk-free interest rate.</para>
        <para><parameter>cost_of_carry</parameter> is the leakage in value of the underlying asset, to the exercise date, in percent.</para>
        <para>For common stocks, this would be the dividend yield.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_BS"><function>OPT_BS</function></link>,
        <link linkend="gnumeric-OPT_BS_DELTA"><function>OPT_BS_DELTA</function></link>,
        <link linkend="gnumeric-OPT_BS_RHO"><function>OPT_BS_RHO</function></link>,
        <link linkend="gnumeric-OPT_BS_THETA"><function>OPT_BS_THETA</function></link>,
        <link linkend="gnumeric-OPT_BS_GAMMA"><function>OPT_BS_GAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_GARMAN_KOHLHAGEN">
      <refmeta>
        <refentrytitle>
          <function>OPT_GARMAN_KOHLHAGEN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_GARMAN_KOHLHAGEN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_GARMAN_KOHLHAGEN</function>(<parameter>call_put_flag</parameter>,<parameter>spot</parameter>,<parameter>strike</parameter>,<parameter>time</parameter>,<parameter>domestic_rate</parameter>,<parameter>foreign_rate</parameter>,<parameter>volatility</parameter>[,<parameter>cost_of_carry</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OPT_GARMAN_KOHLHAGEN</function> values the theoretical price of a European currency option struck at <parameter>strike</parameter> on an asset with spot price <parameter>spot</parameter>.</para>
        <para><parameter>call_put_flag</parameter> is 'c' or 'p' to indicate whether the option is a call or a put.</para>
        <para><parameter>volatility</parameter> is the annualized volatility, in percent, of the asset for the period through to the exercise date.</para>
        <para><parameter>time</parameter> the number of days to exercise.</para>
        <para><parameter>domestic_rate</parameter> is the domestic risk-free interest rate to the exercise date.</para>
        <para><parameter>foreign_rate</parameter> is the foreign risk-free interest rate to the exercise date, in percent.</para>
        <para><parameter>cost_of_carry</parameter> is the leakage in value of the underlying asset, for common stocks, this would be the dividend yield.</para>
        <itemizedlist>
          <listitem>
            <para>The returned value will be expressed as the rate of change of option value, per 100% volatility.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_BS"><function>OPT_BS</function></link>,
        <link linkend="gnumeric-OPT_BS_DELTA"><function>OPT_BS_DELTA</function></link>,
        <link linkend="gnumeric-OPT_BS_RHO"><function>OPT_BS_RHO</function></link>,
        <link linkend="gnumeric-OPT_BS_THETA"><function>OPT_BS_THETA</function></link>,
        <link linkend="gnumeric-OPT_BS_GAMMA"><function>OPT_BS_GAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_JUMP_DIFF">
      <refmeta>
        <refentrytitle>
          <function>OPT_JUMP_DIFF</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_JUMP_DIFF</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_JUMP_DIFF</function>(<parameter>call_put_flag</parameter>,<parameter>spot</parameter>,<parameter>strike</parameter>,<parameter>time</parameter>,<parameter>rate</parameter>,<parameter>volatility</parameter>,<parameter>lambda</parameter>,<parameter>gamma</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OPT_JUMP_DIFF</function> models the theoretical price of an option according to the Jump Diffusion process (Merton).</para>
        <para><parameter>call_put_flag</parameter> is 'c' or 'p' to indicate whether the option is a call or a put.</para>
        <para><parameter>spot</parameter> is the spot price of the underlying asset.</para>
        <para><parameter>strike</parameter> is the strike price of the option.</para>
        <para><parameter>time</parameter> is the time to maturity of the option expressed in years.</para>
        <para><parameter>rate</parameter> is the annualized rate of interest.</para>
        <para><parameter>volatility</parameter> is the annualized volatility of the underlying asset.</para>
        <para><parameter>lambda</parameter> is expected number of 'jumps' per year.</para>
        <para><parameter>gamma</parameter> is proportion of volatility explained by the 'jumps.'</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_BS"><function>OPT_BS</function></link>,
        <link linkend="gnumeric-OPT_BS_DELTA"><function>OPT_BS_DELTA</function></link>,
        <link linkend="gnumeric-OPT_BS_RHO"><function>OPT_BS_RHO</function></link>,
        <link linkend="gnumeric-OPT_BS_THETA"><function>OPT_BS_THETA</function></link>,
        <link linkend="gnumeric-OPT_BS_GAMMA"><function>OPT_BS_GAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_MILTERSEN_SCHWARTZ">
      <refmeta>
        <refentrytitle>
          <function>OPT_MILTERSEN_SCHWARTZ</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_MILTERSEN_SCHWARTZ</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_MILTERSEN_SCHWARTZ</function>(<parameter>call_put_flag</parameter>,<parameter>p_t</parameter>,<parameter>f_t</parameter>,<parameter>x</parameter>,<parameter>t1</parameter>,<parameter>t2</parameter>,<parameter>v_s</parameter>,<parameter>v_e</parameter>,<parameter>v_f</parameter>,<parameter>rho_se</parameter>,<parameter>rho_sf</parameter>,<parameter>rho_ef</parameter>,<parameter>kappa_e</parameter>,<parameter>kappa_f</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OPT_MILTERSEN_SCHWARTZ</function> models the theoretical price of options on commodities futures according to Miltersen &amp; Schwartz.</para>
        <para><parameter>call_put_flag</parameter> is 'c' or 'p' to indicate whether the option is a call or a put.</para>
        <para><parameter>p_t</parameter> is a zero coupon bond with expiry at option maturity.</para>
        <para><parameter>f_t</parameter> is the futures price.</para>
        <para><parameter>x</parameter> is the strike price.</para>
        <para><parameter>t1</parameter> is the time to maturity of the option.</para>
        <para><parameter>t2</parameter> is the time to maturity of the underlying commodity futures contract.</para>
        <para><parameter>v_s</parameter> is the volatility of the spot commodity price.</para>
        <para><parameter>v_e</parameter> is the volatility of the future convenience yield.</para>
        <para><parameter>v_f</parameter> is the volatility of the forward rate of interest.</para>
        <para><parameter>rho_se</parameter> is correlation between the spot commodity price and the convenience yield.</para>
        <para><parameter>rho_sf</parameter> is correlation between the spot commodity price and the forward interest rate.</para>
        <para><parameter>rho_ef</parameter> is correlation between the forward interest rate and the convenience yield.</para>
        <para><parameter>kappa_e</parameter> is the speed of mean reversion of the convenience yield.</para>
        <para><parameter>kappa_f</parameter> is the speed of mean reversion of the forward interest rate.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_BS"><function>OPT_BS</function></link>,
        <link linkend="gnumeric-OPT_BS_DELTA"><function>OPT_BS_DELTA</function></link>,
        <link linkend="gnumeric-OPT_BS_RHO"><function>OPT_BS_RHO</function></link>,
        <link linkend="gnumeric-OPT_BS_THETA"><function>OPT_BS_THETA</function></link>,
        <link linkend="gnumeric-OPT_BS_GAMMA"><function>OPT_BS_GAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_ON_OPTIONS">
      <refmeta>
        <refentrytitle>
          <function>OPT_ON_OPTIONS</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_ON_OPTIONS</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_ON_OPTIONS</function>(<parameter>type_flag</parameter>,<parameter>spot</parameter>,<parameter>strike1</parameter>,<parameter>strike2</parameter>,<parameter>time1</parameter>,<parameter>time2</parameter>,<parameter>rate</parameter>,<parameter>cost_of_carry</parameter>,<parameter>volatility</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OPT_ON_OPTIONS</function> models the theoretical price of options on options.</para>
        <para><parameter>type_flag</parameter> is 'cc' for calls on calls, 'cp' for calls on puts, and so on for 'pc', and 'pp'.</para>
        <para><parameter>spot</parameter> is the spot price of the underlying asset.</para>
        <para><parameter>strike1</parameter> is the strike price at which the option being valued is struck.</para>
        <para><parameter>strike2</parameter> is the strike price at which the underlying option is struck.</para>
        <para><parameter>time1</parameter> is the time in years to maturity of the option.</para>
        <para><parameter>time2</parameter> is the time in years to the maturity of the underlying option.</para>
        <para>(<parameter>time2</parameter> &gt;= <parameter>time1</parameter>).</para>
        <para><parameter>rate</parameter> is the annualized risk-free rate of interest.</para>
        <para><parameter>cost_of_carry</parameter> is the leakage in value of the underlying asset of the underlying option.for common stocks, this would be the dividend yield.</para>
        <para><parameter>volatility</parameter> is the annualized volatility in price of the underlying asset of the underlying option.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_BS"><function>OPT_BS</function></link>,
        <link linkend="gnumeric-OPT_BS_DELTA"><function>OPT_BS_DELTA</function></link>,
        <link linkend="gnumeric-OPT_BS_RHO"><function>OPT_BS_RHO</function></link>,
        <link linkend="gnumeric-OPT_BS_THETA"><function>OPT_BS_THETA</function></link>,
        <link linkend="gnumeric-OPT_BS_GAMMA"><function>OPT_BS_GAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_RGW">
      <refmeta>
        <refentrytitle>
          <function>OPT_RGW</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_RGW</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_RGW</function>(<parameter>call_put_flag</parameter>,<parameter>spot</parameter>,<parameter>strike</parameter>,<parameter>t1</parameter>,<parameter>t2</parameter>,<parameter>rate</parameter>,<parameter>d</parameter>,<parameter>volatility</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OPT_RGW</function> models the theoretical price of an american option according to the Roll-Geske-Whaley approximation where:</para>
        <para><parameter>call_put_flag</parameter> is 'c' or 'p' to indicate whether the option is a call or a put.</para>
        <para><parameter>spot</parameter> is the spot price of the underlying asset.</para>
        <para><parameter>strike</parameter> is the strike price at which the option is struck.</para>
        <para><parameter>t1</parameter> is the time to the dividend payout.</para>
        <para><parameter>t2</parameter> is the time to option expiration.</para>
        <para><parameter>rate</parameter> is the annualized rate of interest.</para>
        <para><parameter>d</parameter> is the amount of the dividend to be paid.</para>
        <para><parameter>volatility</parameter> is the annualized rate of volatility of the underlying asset.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_BS"><function>OPT_BS</function></link>,
        <link linkend="gnumeric-OPT_BS_DELTA"><function>OPT_BS_DELTA</function></link>,
        <link linkend="gnumeric-OPT_BS_RHO"><function>OPT_BS_RHO</function></link>,
        <link linkend="gnumeric-OPT_BS_THETA"><function>OPT_BS_THETA</function></link>,
        <link linkend="gnumeric-OPT_BS_GAMMA"><function>OPT_BS_GAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_SIMPLE_CHOOSER">
      <refmeta>
        <refentrytitle>
          <function>OPT_SIMPLE_CHOOSER</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_SIMPLE_CHOOSER</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_SIMPLE_CHOOSER</function>(<parameter>call_put_flag</parameter>,<parameter>spot</parameter>,<parameter>strike</parameter>,<parameter>time1</parameter>,<parameter>time2</parameter>,<parameter>rate</parameter>,<parameter>cost_of_carry</parameter>,<parameter>volatility</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OPT_SIMPLE_CHOOSER</function> models the theoretical price of simple chooser options.</para>
        <para><parameter>call_put_flag</parameter> is 'c' or 'p' to indicate whether the option is a call or a put.</para>
        <para><parameter>spot</parameter> is the spot price of the underlying asset.</para>
        <para><parameter>strike</parameter> is the strike price at which the option is struck.</para>
        <para><parameter>time1</parameter> is the time in years until the holder chooses a put or a call option.</para>
        <para><parameter>time2</parameter> is the time in years until the chosen option expires.</para>
        <para><parameter>rate</parameter> is the annualized risk-free rate of interest.</para>
        <para><parameter>cost_of_carry</parameter> is the leakage in value of the underlying asset, for common stocks, this would be the dividend yield.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_BS"><function>OPT_BS</function></link>,
        <link linkend="gnumeric-OPT_BS_DELTA"><function>OPT_BS_DELTA</function></link>,
        <link linkend="gnumeric-OPT_BS_RHO"><function>OPT_BS_RHO</function></link>,
        <link linkend="gnumeric-OPT_BS_THETA"><function>OPT_BS_THETA</function></link>,
        <link linkend="gnumeric-OPT_BS_GAMMA"><function>OPT_BS_GAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_SPREAD_APPROX">
      <refmeta>
        <refentrytitle>
          <function>OPT_SPREAD_APPROX</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_SPREAD_APPROX</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_SPREAD_APPROX</function>(<parameter>call_put_flag</parameter>,<parameter>fut_price1</parameter>,<parameter>fut_price2</parameter>,<parameter>strike</parameter>,<parameter>time</parameter>,<parameter/> rate,<parameter>volatility1</parameter>,<parameter>volatility2</parameter>,<parameter>rho</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OPT_SPREAD_APPROX</function> models the theoretical price of a European option on the spread between two futures contracts.</para>
        <para><parameter>call_put_flag</parameter> is 'c' or 'p' to indicate whether the option is a call or a put.</para>
        <para><parameter>fut_price1</parameter> &amp; <parameter>fut_price2</parameter> are the prices of the two futures contracts.</para>
        <para><parameter>strike</parameter> is the strike price at which the option is struck</para>
        <para><parameter>time</parameter> is the initial maturity of the option in years.</para>
        <para><parameter>rate</parameter> is the annualized risk-free rate of interest.</para>
        <para><parameter>volatility1</parameter> &amp; <parameter>volatility2</parameter> are the annualized volatility in price of the underlying futures contracts.</para>
        <para><parameter>rho</parameter> is the correlation between the two futures contracts.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_BS"><function>OPT_BS</function></link>,
        <link linkend="gnumeric-OPT_BS_DELTA"><function>OPT_BS_DELTA</function></link>,
        <link linkend="gnumeric-OPT_BS_RHO"><function>OPT_BS_RHO</function></link>,
        <link linkend="gnumeric-OPT_BS_THETA"><function>OPT_BS_THETA</function></link>,
        <link linkend="gnumeric-OPT_BS_GAMMA"><function>OPT_BS_GAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OPT_TIME_SWITCH">
      <refmeta>
        <refentrytitle>
          <function>OPT_TIME_SWITCH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OPT_TIME_SWITCH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OPT_TIME_SWITCH</function>(<parameter>call_put_flag</parameter>,<parameter>spot</parameter>,<parameter>strike</parameter>,<parameter>a</parameter>,<parameter>time</parameter>,<parameter>m</parameter>,<parameter>dt</parameter>,<parameter>rate</parameter>,<parameter>cost_of_carry</parameter>,<parameter>volatility</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OPT_TIME_SWITCH</function> models the theoretical price of time switch options. (Pechtl 1995)</para>
        <para>The holder receives <parameter>a</parameter> * <parameter>dt</parameter> for each period dt that the asset price was greater than the strike price (for a call) or below it (for a put).</para>
        <para><parameter>call_put_flag</parameter> is 'c' or 'p' to indicate whether the option is a call or a put.</para>
        <para><parameter>spot</parameter> is the spot price of the underlying asset.</para>
        <para><parameter>strike</parameter> is the strike price at which the option is struck.</para>
        <para><parameter>a</parameter> is the amount received for each time period as discussed above.</para>
        <para><parameter>time</parameter> is the maturity of the option in years.</para>
        <para><parameter>m</parameter> is the number of time units the option has already met the condition.</para>
        <para><parameter>dt</parameter> is the agreed upon discrete time period (often a day) expressed as a fraction of a year.</para>
        <para><parameter>rate</parameter> is the annualized risk-free rate of interest.</para>
        <para><parameter>cost_of_carry</parameter> is the leakage in value of the underlying asset, for common stocks, this would be the dividend yield.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OPT_BS"><function>OPT_BS</function></link>,
        <link linkend="gnumeric-OPT_BS_DELTA"><function>OPT_BS_DELTA</function></link>,
        <link linkend="gnumeric-OPT_BS_RHO"><function>OPT_BS_RHO</function></link>,
        <link linkend="gnumeric-OPT_BS_THETA"><function>OPT_BS_THETA</function></link>,
        <link linkend="gnumeric-OPT_BS_GAMMA"><function>OPT_BS_GAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-PMT">
      <refmeta>
        <refentrytitle>
          <function>PMT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>PMT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>PMT</function>(<parameter>rate</parameter>,<parameter>nper</parameter>,<parameter>pv</parameter>[,<parameter>fv</parameter>,<parameter>type</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>PMT</function> returns the amount of payment for a loan based on a constant interest rate and constant payments (each payment is equal amount).</para>
        <para><parameter>rate</parameter> is the constant interest rate.</para>
        <para><parameter>nper</parameter> is the overall number of payments.</para>
        <para><parameter>pv</parameter> is the present value.</para>
        <para><parameter>fv</parameter> is the future value.</para>
        <para><parameter>type</parameter> is the type of the payment: 0 means at the end of the period and 1 means at the beginning of the period.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>fv</parameter> is omitted, Gnumeric assumes it to be zero.</para>
          </listitem>
          <listitem>
            <para>If <parameter>type</parameter> is omitted, Gnumeric assumes it to be zero.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-PPMT"><function>PPMT</function></link>,
        <link linkend="gnumeric-PV"><function>PV</function></link>,
        <link linkend="gnumeric-FV"><function>FV</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-PPMT">
      <refmeta>
        <refentrytitle>
          <function>PPMT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>PPMT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>PPMT</function>(<parameter>rate</parameter>,<parameter>per</parameter>,<parameter>nper</parameter>,<parameter>pv</parameter>[,<parameter>fv</parameter>,<parameter>type</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>PPMT</function> calculates the amount of a payment of an annuity going towards principal.</para>
        <para>Formula for it is:</para>
        <para><function>PPMT</function>(per) = PMT - IPMT(per)</para>
        <para>where:</para>
        <para>PMT = Payment received on annuity</para>
        <para>IPMT(per) = amount of interest for period <parameter>per</parameter></para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>fv</parameter> is omitted, it is assumed to be 0.</para>
          </listitem>
          <listitem>
            <para>If <parameter>type</parameter> is omitted, it is assumed to be 0.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IPMT"><function>IPMT</function></link>,
        <link linkend="gnumeric-PV"><function>PV</function></link>,
        <link linkend="gnumeric-FV"><function>FV</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-PRICE">
      <refmeta>
        <refentrytitle>
          <function>PRICE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>PRICE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>PRICE</function>(<parameter>settle</parameter>,<parameter>mat</parameter>,<parameter>rate</parameter>,<parameter>yield</parameter>,<parameter>redemption_price</parameter>,<parameter/>[frequency,<parameter>basis</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>PRICE</function> returns price per $100 face value of a security. This method can only be used if the security pays periodic interest.</para>
        <para><parameter>frequency</parameter> is the number of coupon payments per year. Allowed frequencies are: 1 = annual, 2 = semi, 4 = quarterly. <parameter>basis</parameter> is the type of day counting system you want to use:</para>
        <para>  0  US 30/360</para>
        <para>  1  actual days/actual days</para>
        <para>  2  actual days/360</para>
        <para>  3  actual days/365</para>
        <para>  4  European 30/360</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>frequency</parameter> is other than 1, 2, or 4, <function>PRICE</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is omitted, US 30/360 is applied.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is not in between 0 and 4, #NUM! error is returned.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-PRICEDISC">
      <refmeta>
        <refentrytitle>
          <function>PRICEDISC</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>PRICEDISC</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>PRICEDISC</function>(<parameter>settlement</parameter>,<parameter>maturity</parameter>,<parameter>discount</parameter>,<parameter>redemption</parameter>[,<parameter>basis</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>PRICEDISC</function> calculates and returns the price per $100 face value of a security bond.  The security does not pay interest at maturity.</para>
        <para><parameter>settlement</parameter> is the settlement date of the security. <parameter>maturity</parameter> is the maturity date of the security.  <parameter>discount</parameter> is the rate for which the security is discounted.  <parameter>redemption</parameter> is the amount to be received on <parameter>maturity</parameter> date.</para>
        <para><parameter>basis</parameter> is the type of day counting system you want to use:</para>
        <para>  0  US 30/360</para>
        <para>  1  actual days/actual days</para>
        <para>  2  actual days/360</para>
        <para>  3  actual days/365</para>
        <para>  4  European 30/360</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>settlement</parameter> date or <parameter>maturity</parameter> date is not valid, <function>PRICEDISC</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is omitted, US 30/360 is applied.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> &lt; 0 or <parameter>basis</parameter> &gt; 4, <function>PRICEDISC</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>settlement</parameter> date is after <parameter>maturity</parameter> date or they are the same, <function>PRICEDISC</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-PRICEMAT"><function>PRICEMAT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-PRICEMAT">
      <refmeta>
        <refentrytitle>
          <function>PRICEMAT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>PRICEMAT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>PRICEMAT</function>(<parameter>settlement</parameter>,<parameter>maturity</parameter>,<parameter>issue</parameter>,<parameter>rate</parameter>,<parameter>yield</parameter>[,<parameter>basis</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>PRICEMAT</function> calculates and returns the price per $100 face value of a security.  The security pays interest at maturity.</para>
        <para><parameter>settlement</parameter> is the settlement date of the security.  <parameter>maturity</parameter> is the maturity date of the security.  <parameter>issue</parameter> is the issue date of the security.  <parameter>rate</parameter> is the discount rate of the security. <parameter>yield</parameter> is the annual yield of the security. <parameter>basis</parameter> is the type of day counting system you want to use:</para>
        <para>  0  US 30/360</para>
        <para>  1  actual days/actual days</para>
        <para>  2  actual days/360</para>
        <para>  3  actual days/365</para>
        <para>  4  European 30/360</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>settlement</parameter> date or <parameter>maturity</parameter> date is not valid, <function>PRICEMAT</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is omitted, US 30/360 is applied.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> &lt; 0 or <parameter>basis</parameter> &gt; 4, <function>PRICEMAT</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>settlement</parameter> date is after <parameter>maturity</parameter> date or they are the same, <function>PRICEMAT</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-PRICEDISC"><function>PRICEDISC</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-PV">
      <refmeta>
        <refentrytitle>
          <function>PV</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>PV</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>PV</function>(<parameter>rate</parameter>,<parameter>nper</parameter>,<parameter>pmt</parameter>[,<parameter>fv</parameter>,<parameter>type</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>PV</function> calculates the present value of an investment. <parameter>rate</parameter> is the periodic interest rate, <parameter>nper</parameter> is the number of periods used for compounding. <parameter>pmt</parameter> is the payment made each period, <parameter>fv</parameter> is the future value and <parameter>type</parameter> is when the payment is made.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>type</parameter> = 1 then the payment is made at the beginning of the period.</para>
          </listitem>
          <listitem>
            <para>If <parameter>type</parameter> = 0 (or omitted) it is made at the end of each period.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-FV"><function>FV</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RATE">
      <refmeta>
        <refentrytitle>
          <function>RATE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RATE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RATE</function>(<parameter>nper</parameter>,<parameter>pmt</parameter>,<parameter>pv</parameter>[,<parameter>fv</parameter>,<parameter>type</parameter>,<parameter>guess</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RATE</function> calculates the rate of an investment.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>pmt</parameter> is ommitted it defaults to 0</para>
          </listitem>
          <listitem>
            <para>If <parameter>nper</parameter> &lt;= 0, <function>RATE</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>type</parameter> != 0 and <parameter>type</parameter> != 1, <function>RATE</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-PV"><function>PV</function></link>,
        <link linkend="gnumeric-FV"><function>FV</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RECEIVED">
      <refmeta>
        <refentrytitle>
          <function>RECEIVED</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RECEIVED</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RECEIVED</function>(<parameter>settlement</parameter>,<parameter>maturity</parameter>,<parameter>investment</parameter>,<parameter>rate</parameter>[,<parameter>basis</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RECEIVED</function> calculates and returns the amount to be received at maturity date for a security bond.</para>
        <para><parameter>settlement</parameter> is the settlement date of the security.  <parameter>maturity</parameter> is the maturity date of the security.  The amount of investment is specified in <parameter>investment</parameter>.  <parameter>rate</parameter> is the security's discount rate.</para>
        <para><parameter>basis</parameter> is the type of day counting system you want to use:</para>
        <para>  0  US 30/360</para>
        <para>  1  actual days/actual days</para>
        <para>  2  actual days/360</para>
        <para>  3  actual days/365</para>
        <para>  4  European 30/360</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>settlement</parameter> date or <parameter>maturity</parameter> date is not valid, <function>RECEIVED</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is omitted, US 30/360 is applied.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> &lt; 0 or <parameter>basis</parameter> &gt; 4, <function>RECEIVED</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>settlement</parameter> date is after <parameter>maturity</parameter> date or they are the same, <function>RECEIVED</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-INTRATE"><function>INTRATE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-SLN">
      <refmeta>
        <refentrytitle>
          <function>SLN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>SLN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>SLN</function>(<parameter>cost</parameter>,<parameter>salvage_value</parameter>,<parameter>life</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>SLN</function> function will determine the straight line depreciation of an asset for a single period.</para>
        <para>The formula is:</para>
        <para>Depreciation expense = ( <parameter>cost</parameter> - <parameter>salvage_value</parameter> ) / <parameter>life</parameter></para>
        <para><parameter>cost</parameter> is the cost of an asset when acquired (market value).</para>
        <para><parameter>salvage_value</parameter> is the amount you get when asset is sold at the end of the asset's useful life.</para>
        <para><parameter>life</parameter> is the anticipated life of an asset.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>life</parameter> &lt;= 0, <function>SLN</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>For example, lets suppose your company purchases a new machine for $10,000, which has a salvage value of $700 and will have a useful life of 10 years. The <function>SLN</function> yearly depreciation is computed as follows:</para>
        <para>=<function>SLN</function>(10000, 700, 10)</para>
        <para>This will return the yearly depreciation figure of $930.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-SYD"><function>SYD</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-SYD">
      <refmeta>
        <refentrytitle>
          <function>SYD</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>SYD</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>SYD</function>(<parameter>cost</parameter>,<parameter>salvage_value</parameter>,<parameter>life</parameter>,<parameter>period</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>SYD</function> function calculates the sum-of-years digits depreciation for an asset based on its cost, salvage value, anticipated life and a particular period. This method accelerates the rate of the depreciation, so that more depreciation expense occurs in earlier periods than in later ones. The depreciable cost is the actual cost minus the salvage value. The useful life is the number of periods (typically years) over which the asset is depreciated.</para>
        <para>The Formula used for sum-of-years digits depreciation is:</para>
        <para>Depreciation expense =</para>
        <para>	 ( <parameter>cost</parameter> - <parameter>salvage_value</parameter> ) * (<parameter>life</parameter> - <parameter>period</parameter> + 1) * 2 / <parameter>life</parameter> * (<parameter>life</parameter> + 1).</para>
        <para><parameter>cost</parameter> is the cost of an asset when acquired (market value).</para>
        <para><parameter>salvage_value</parameter> is the amount you get when asset sold at the end of its useful life.</para>
        <para><parameter>life</parameter> is the anticipated life of an asset.</para>
        <para><parameter>period</parameter> is the period for which we need the expense.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>life</parameter> &lt;= 0, <function>SYD</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>For example say a company purchases a new computer for $5000 which has a salvage value of $200, and a useful life of five years. We would use the following to calculate the second year's depreciation using the <function>SYD</function> method:</para>
        <para>=<function>SYD</function>(5000, 200, 5, 2) which returns 1,280.00.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-SLN"><function>SLN</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-TBILLEQ">
      <refmeta>
        <refentrytitle>
          <function>TBILLEQ</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>TBILLEQ</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>TBILLEQ</function>(<parameter>settlement</parameter>,<parameter>maturity</parameter>,<parameter>discount</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>TBILLEQ</function> function returns the bond-yield equivalent (BEY) for a treasury bill.  <function>TBILLEQ</function> is equivalent to</para>
        <para>	(365 * <parameter>discount</parameter>) / (360 - <parameter>discount</parameter> * DSM),</para>
        <para>where DSM is the days between <parameter>settlement</parameter> and <parameter>maturity</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>settlement</parameter> is after <parameter>maturity</parameter> or the <parameter>maturity</parameter> is set to over one year later than the <parameter>settlement</parameter>, <function>TBILLEQ</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>discount</parameter> is negative, <function>TBILLEQ</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-TBILLPRICE"><function>TBILLPRICE</function></link>,
        <link linkend="gnumeric-TBILLYIELD"><function>TBILLYIELD</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-TBILLPRICE">
      <refmeta>
        <refentrytitle>
          <function>TBILLPRICE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>TBILLPRICE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>TBILLPRICE</function>(<parameter>settlement</parameter>,<parameter>maturity</parameter>,<parameter>discount</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>TBILLPRICE</function> function returns the price per $100 value for a treasury bill where <parameter>settlement</parameter> is the settlement date and <parameter>maturity</parameter> is the maturity date of the bill.  <parameter>discount</parameter> is the treasury bill's discount rate.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>settlement</parameter> is after <parameter>maturity</parameter> or the <parameter>maturity</parameter> is set to over one year later than the <parameter>settlement</parameter>, <function>TBILLPRICE</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>discount</parameter> is negative, <function>TBILLPRICE</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-TBILLEQ"><function>TBILLEQ</function></link>,
        <link linkend="gnumeric-TBILLYIELD"><function>TBILLYIELD</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-TBILLYIELD">
      <refmeta>
        <refentrytitle>
          <function>TBILLYIELD</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>TBILLYIELD</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>TBILLYIELD</function>(<parameter>settlement</parameter>,<parameter>maturity</parameter>,<parameter>pr</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>TBILLYIELD</function> function returns the yield for a treasury bill. <parameter>settlement</parameter> is the settlement date and <parameter>maturity</parameter> is the maturity date of the bill.  <parameter>discount</parameter> is the treasury bill's discount rate.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>settlement</parameter> is after <parameter>maturity</parameter> or the <parameter>maturity</parameter> is set to over one year later than the <parameter>settlement</parameter>, <function>TBILLYIELD</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>pr</parameter> is negative, <function>TBILLYIELD</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-TBILLEQ"><function>TBILLEQ</function></link>,
        <link linkend="gnumeric-TBILLPRICE"><function>TBILLPRICE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-VDB">
      <refmeta>
        <refentrytitle>
          <function>VDB</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>VDB</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>VDB</function>(<parameter>cost</parameter>,<parameter>salvage</parameter>,<parameter>life</parameter>,<parameter>start_period</parameter>,<parameter>end_period</parameter>[,<parameter>factor</parameter>,<parameter>switch</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>VDB</function> calculates the depreciation of an asset for a given period or partial period using the double-declining balance method.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>start_period</parameter> &lt; 0, <function>VDB</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>start_period</parameter> &gt; <parameter>end_period</parameter>, <function>VDB</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>end_period</parameter> &gt; <parameter>life</parameter>, <function>VDB</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>cost</parameter> &lt; 0, <function>VDB</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>salvage</parameter> &gt; <parameter>cost</parameter>, <function>VDB</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>factor</parameter> &lt;= 0, <function>VDB</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DB"><function>DB</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-XIRR">
      <refmeta>
        <refentrytitle>
          <function>XIRR</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>XIRR</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>XIRR</function>(<parameter>values</parameter>,<parameter>dates</parameter>[,<parameter>guess</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>XIRR</function> calculates and returns the internal rate of return of an investment that has not necessarily periodic payments.  This function is closely related to the net present value function (NPV and XNPV).  The <function>XIRR</function> is the interest rate for a series of cash flows where the XNPV is zero.</para>
        <para><parameter>values</parameter> contains the series of cash flows generated by the investment.  <parameter>dates</parameter> contains the dates of the payments.  The first date describes the payment day of the initial payment and thus all the other dates should be after this date. The optional <parameter>guess</parameter> is the initial value used in calculating the <function>XIRR</function>.  You do not have to use that, it is only provided for the Excel compatibility.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1:A5 contain the numbers -6000, 2134, 1422, 1933, and 1422, and the cells B1:B5 contain the dates "1999-01-15", "1999-04-04", "1999-05-09", "2000-03-12", and "2000-05-1". Then</para>
        <para><function>XIRR</function>(A1:A5,B1:B5) returns 0.224838.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IRR"><function>IRR</function></link>,
        <link linkend="gnumeric-XNPV"><function>XNPV</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-XNPV">
      <refmeta>
        <refentrytitle>
          <function>XNPV</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>XNPV</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>XNPV</function>(<parameter>rate</parameter>,<parameter>values</parameter>,<parameter>dates</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>XNPV</function> calculates the net present value of an investment.  The schedule of the cash flows is given in <parameter>dates</parameter> array.  The first date indicates the beginning of the payment schedule.  <parameter>rate</parameter> is the interest rate and <parameter>values</parameter> are the payments.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>values</parameter> and <parameter>dates</parameter> contain unequal number of values, <function>XNPV</function> returns the #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-NPV"><function>NPV</function></link>,
        <link linkend="gnumeric-PV"><function>PV</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-YIELD">
      <refmeta>
        <refentrytitle>
          <function>YIELD</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>YIELD</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>YIELD</function>(<parameter>settlement</parameter>,<parameter>maturity</parameter>,<parameter>rate</parameter>,<parameter>price</parameter>,<parameter>redemption_price</parameter>,<parameter>frequency</parameter>[,<parameter>basis</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>YIELD</function> returns the yield on a security that pays periodic interest.</para>
        <para><parameter>frequency</parameter> is the number of coupon payments per year. Allowed frequencies are: 1 = annual, 2 = semi, 4 = quarterly. <parameter>basis</parameter> is the type of day counting system you want to use:</para>
        <para>  0  US 30/360</para>
        <para>  1  actual days/actual days</para>
        <para>  2  actual days/360</para>
        <para>  3  actual days/365</para>
        <para>  4  European 30/360</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>frequency</parameter> is other than 1, 2, or 4, <function>YIELD</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is omitted, US 30/360 is applied.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is not in between 0 and 4, #NUM! error is returned.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-YIELDDISC">
      <refmeta>
        <refentrytitle>
          <function>YIELDDISC</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>YIELDDISC</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>YIELDDISC</function>(<parameter>settlement</parameter>,<parameter>maturity</parameter>,<parameter>pr</parameter>,<parameter>redemption</parameter>[,<parameter>basis</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>YIELDDISC</function> calculates the annual yield of a security that is discounted.</para>
        <para><parameter>settlement</parameter> is the settlement date of the security.  <parameter>maturity</parameter> is the maturity date of the security. <parameter>pr</parameter> is the price per $100 face value of the security. <parameter>redemption</parameter> is the redemption value per $100 face value. <parameter>basis</parameter> is the type of day counting system you want to use:</para>
        <para>  0  US 30/360</para>
        <para>  1  actual days/actual days</para>
        <para>  2  actual days/360</para>
        <para>  3  actual days/365</para>
        <para>  4  European 30/360</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>frequency</parameter> is other than 1, 2, or 4, <function>YIELDDISC</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is omitted, US 30/360 is applied.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is not in between 0 and 4, #NUM! error is returned.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-YIELDMAT">
      <refmeta>
        <refentrytitle>
          <function>YIELDMAT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>YIELDMAT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>YIELDMAT</function>(<parameter>settlement</parameter>,<parameter>maturity</parameter>,<parameter>issue</parameter>,<parameter>rate</parameter>,<parameter>pr</parameter>[,<parameter>basis</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>YIELDMAT</function> calculates the annual yield of a security for which the interest is paid at maturity date.</para>
        <para><parameter>settlement</parameter> is the settlement date of the security. <parameter>maturity</parameter> is the maturity date of the security. <parameter>issue</parameter> is the issue date of the security. <parameter>rate</parameter> is the interest rate set to the security. <parameter>pr</parameter> is the price per $100 face value of the security. <parameter>basis</parameter> is the type of day counting system you want to use:</para>
        <para>  0  US 30/360</para>
        <para>  1  actual days/actual days</para>
        <para>  2  actual days/360</para>
        <para>  3  actual days/365</para>
        <para>  4  European 30/360</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>basis</parameter> is omitted, US 30/360 is applied.</para>
          </listitem>
          <listitem>
            <para>If <parameter>basis</parameter> is not in between 0 and 4, #NUM! error is returned.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
  </sect1>
  <sect1 id="CATEGORY_Gnumeric">
    <title>Gnumeric</title>
    <refentry id="gnumeric-GNUMERIC_VERSION">
      <refmeta>
        <refentrytitle>
          <function>GNUMERIC_VERSION</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>GNUMERIC_VERSION</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>GNUMERIC_VERSION</function>(<parameter/>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>GNUMERIC_VERSION</function> returns the version of gnumeric as a string.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>GNUMERIC_VERSION</function>().</para>
      </refsect1>
    </refentry>
  </sect1>
  <sect1 id="CATEGORY_Information">
    <title>Information</title>
    <refentry id="gnumeric-CELL">
      <refmeta>
        <refentrytitle>
          <function>CELL</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>CELL</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>CELL</function>(<parameter>type</parameter>,<parameter>ref</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>CELL</function> returns information about the formatting, location, or contents of a cell.</para>
        <para><parameter>type</parameter> specifies the type of information you want to obtain:</para>
        <para>  address    	Returns the given cell reference as text.</para>
        <para>  col        		Returns the number of the column in <parameter>ref</parameter>.</para>
        <para>  contents   	Returns the contents of the cell in <parameter>ref</parameter>.</para>
        <para>  format     		Returns the code of the format of the cell.</para>
        <para>  parentheses	Returns 1 if <parameter>ref</parameter> contains a negative value</para>
        <para>             		and its format displays it with parentheses.</para>
        <para>  row        		Returns the number of the row in <parameter>ref</parameter>.</para>
        <para>  width      		Returns the column width.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Cell("format",A1) returns the code of the format of the cell A1.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-INDIRECT"><function>INDIRECT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-COUNTBLANK">
      <refmeta>
        <refentrytitle>
          <function>COUNTBLANK</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>COUNTBLANK</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>COUNTBLANK</function>(<parameter>range</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>COUNTBLANK</function> returns the number of blank cells in a <parameter>range</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>COUNTBLANK</function>(A1:A20) returns the number of blank cell in A1:A20.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-COUNT"><function>COUNT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ERROR">
      <refmeta>
        <refentrytitle>
          <function>ERROR</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ERROR</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ERROR</function>(<parameter>text</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ERROR</function> return the specified error.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ERROR</function>("#OWN <function>ERROR</function>").</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ISERROR"><function>ISERROR</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ERROR.TYPE">
      <refmeta>
        <refentrytitle>
          <function>ERROR.TYPE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ERROR.TYPE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ERROR.TYPE</function>(<parameter>value</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ERROR.TYPE</function> returns an error number corresponding to the given error value.  The error numbers for error values are:</para>
        <para>	#DIV/0!  		2</para>
        <para>	#VALUE!  	3</para>
        <para>	#REF!    		4</para>
        <para>	#NAME?   	5</para>
        <para>	#NUM!    		6</para>
        <para>	#N/A     		7</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ERROR.TYPE</function>(NA()) equals 7.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ISERROR"><function>ISERROR</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-EXPRESSION">
      <refmeta>
        <refentrytitle>
          <function>EXPRESSION</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>EXPRESSION</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>EXPRESSION</function>(<parameter>cell</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>EXPRESSION</function> returns expression in <parameter>cell</parameter> as a string, or empty if the cell is not an expression.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>entering '=<function>EXPRESSION</function>(A3)' in A2 = empty (assuming there is nothing in A3).</para>
        <para>entering '=<function>EXPRESSION</function>(A2)' in A1 = '<function>EXPRESSION</function>(A3)'.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-TEXT"><function>TEXT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-GETENV">
      <refmeta>
        <refentrytitle>
          <function>GETENV</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>GETENV</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>GETENV</function>(<parameter>string</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>GETENV</function> retrieves a value from the execution environment.</para>
        <itemizedlist>
          <listitem>
            <para>If the variable specified by <parameter>string</parameter> does not exist, #N/A! will be returned.  Note, that variable names are case sensitive.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-INFO">
      <refmeta>
        <refentrytitle>
          <function>INFO</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>INFO</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>INFO</function>(<parameter>type</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>INFO</function> returns information about the current operating environment.</para>
        <para><parameter>type</parameter> is the type of information you want to obtain:</para>
        <para>  memavail 	Returns the amount of memory available, bytes.</para>
        <para>  memused  	Returns the amount of memory used (bytes).</para>
        <para>  numfile  		Returns the number of active worksheets.</para>
        <para>  osversion		Returns the operating system version.</para>
        <para>  recalc   		Returns the recalculation mode (automatic).</para>
        <para>  release  		Returns the version of Gnumeric as text.</para>
        <para>  system   		Returns the name of the environment.</para>
        <para>  totmem   		Returns the amount of total memory available.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible, except that types directory and origin are not implemented.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>INFO</function>("system") returns "Linux" on a Linux system.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ISBLANK">
      <refmeta>
        <refentrytitle>
          <function>ISBLANK</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ISBLANK</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ISBLANK</function>(<parameter>value</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ISBLANK</function> returns TRUE if the value is blank.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ISBLANK</function>(A1).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ISERR">
      <refmeta>
        <refentrytitle>
          <function>ISERR</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ISERR</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ISERR</function>(<parameter>value</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ISERR</function> returns TRUE if the value is any error value except #N/A.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ISERR</function>(NA()) return FALSE.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ISERROR"><function>ISERROR</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ISERROR">
      <refmeta>
        <refentrytitle>
          <function>ISERROR</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ISERROR</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ISERROR</function>(<parameter>value</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ISERROR</function> returns a TRUE value if the expression has an error.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ISERROR</function>(NA()) equals TRUE.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ERROR"><function>ERROR</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ISEVEN">
      <refmeta>
        <refentrytitle>
          <function>ISEVEN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ISEVEN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ISEVEN</function>(<parameter>value</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ISEVEN</function> returns TRUE if the number is even.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ISEVEN</function>(4) equals TRUE.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ISODD"><function>ISODD</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ISLOGICAL">
      <refmeta>
        <refentrytitle>
          <function>ISLOGICAL</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ISLOGICAL</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ISLOGICAL</function>(<parameter>value</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ISLOGICAL</function> returns TRUE if the value is a logical value.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ISLOGICAL</function>(A1).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ISNA">
      <refmeta>
        <refentrytitle>
          <function>ISNA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ISNA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ISNA</function>(<parameter>value</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ISNA</function> returns TRUE if the value is the #N/A error value.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ISNA</function>(NA()) equals TRUE.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-NA"><function>NA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ISNONTEXT">
      <refmeta>
        <refentrytitle>
          <function>ISNONTEXT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ISNONTEXT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ISNONTEXT</function>(<parameter>value</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ISNONTEXT</function> Returns TRUE if the value is not text.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ISNONTEXT</function>("text") equals FALSE.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ISTEXT"><function>ISTEXT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ISNUMBER">
      <refmeta>
        <refentrytitle>
          <function>ISNUMBER</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ISNUMBER</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ISNUMBER</function>(<parameter>value</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ISNUMBER</function> returns TRUE if the value is a number.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ISNUMBER</function>("text") equals FALSE.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ISODD">
      <refmeta>
        <refentrytitle>
          <function>ISODD</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ISODD</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ISODD</function>(<parameter>value</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ISODD</function> returns TRUE if the number is odd.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ISODD</function>(3) equals TRUE.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ISEVEN"><function>ISEVEN</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ISREF">
      <refmeta>
        <refentrytitle>
          <function>ISREF</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ISREF</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ISREF</function>(<parameter>value</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ISREF</function> returns TRUE if the value is a reference.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ISREF</function>(A1) equals TRUE.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ISTEXT">
      <refmeta>
        <refentrytitle>
          <function>ISTEXT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ISTEXT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ISTEXT</function>(<parameter>value</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ISTEXT</function> returns TRUE if the value is text.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ISTEXT</function>("text") equals TRUE.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ISNONTEXT"><function>ISNONTEXT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-N">
      <refmeta>
        <refentrytitle>
          <function>N</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>N</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>N</function>(<parameter>value</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>N</function> returns a value converted to a number.  Strings containing text are converted to the zero value.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>N</function>("42") equals 42.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-NA">
      <refmeta>
        <refentrytitle>
          <function>NA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>NA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>NA</function>(<parameter/>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>NA</function> returns the error value #N/A.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>NA</function>() equals #N/A error.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ISNA"><function>ISNA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-TYPE">
      <refmeta>
        <refentrytitle>
          <function>TYPE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>TYPE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>TYPE</function>(<parameter>value</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>TYPE</function> returns a number indicating the data type of a value.</para>
        <para>1  == number</para>
        <para>2  == text</para>
        <para>4  == boolean</para>
        <para>16 == error</para>
        <para>64 == array</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>TYPE</function>(3) equals 1.</para>
        <para><function>TYPE</function>("text") equals 2.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
  </sect1>
  <sect1 id="CATEGORY_Logic">
    <title>Logic</title>
    <refentry id="gnumeric-AND">
      <refmeta>
        <refentrytitle>
          <function>AND</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>AND</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>AND</function>(<parameter>b1</parameter>,<parameter/> b2,<parameter/> ...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>AND</function> implements the logical <function>AND</function> function: the result is TRUE if all of the expressions evaluate to TRUE, otherwise it returns FALSE.</para>
        <para><parameter>b1</parameter> through <parameter>bN</parameter> are expressions that should evaluate to TRUE or FALSE.  If an integer or floating point value is provided, zero is considered FALSE and anything else is TRUE.</para>
        <itemizedlist>
          <listitem>
            <para>If the values contain strings or empty cells those values are ignored.</para>
          </listitem>
          <listitem>
            <para>If no logical values are provided, then the error #VALUE! is returned.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>AND</function>(TRUE,TRUE) equals TRUE.</para>
        <para><function>AND</function>(TRUE,FALSE) equals FALSE.</para>
        <para>Let us assume that A1 holds number five and A2 number one.  Then</para>
        <para><function>AND</function>(A1&gt;3,A2&lt;2) equals TRUE.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OR"><function>OR</function></link>,
        <link linkend="gnumeric-NOT"><function>NOT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-FALSE">
      <refmeta>
        <refentrytitle>
          <function>FALSE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>FALSE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>FALSE</function>(<parameter/>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>FALSE</function> returns boolean value false.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>FALSE</function>() equals <function>FALSE</function>.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-TRUE"><function>TRUE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IF">
      <refmeta>
        <refentrytitle>
          <function>IF</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IF</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IF</function>(<parameter>condition</parameter>[,<parameter>if</parameter>-true,<parameter>if</parameter>-false])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>IF</function> function can be used to evaluate conditionally other expressions. <function>IF</function> evaluates <parameter>condition</parameter>.  If <parameter>condition</parameter> returns a non-zero value the result of the <function>IF</function> expression is the <parameter>if</parameter>-true expression, otherwise <function>IF</function> evaluates to the value of <parameter>if</parameter>-false.</para>
        <itemizedlist>
          <listitem>
            <para>If omitted <parameter>if</parameter>-true defaults to TRUE and <parameter>if</parameter>-false to FALSE.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>IF</function>(FALSE,TRUE,FALSE) equals FALSE.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-IFERROR">
      <refmeta>
        <refentrytitle>
          <function>IFERROR</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>IFERROR</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>IFERROR</function>(<parameter>x</parameter>,<parameter>y</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the first value, unless that is an error, in which case it returns the second.</para>
        <para><parameter>x</parameter>: value to test for error.</para>
        <para><parameter>y</parameter>: alternate value.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IF"><function>IF</function></link>,
        <link linkend="gnumeric-ISERROR"><function>ISERROR</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-NOT">
      <refmeta>
        <refentrytitle>
          <function>NOT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>NOT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>NOT</function>(<parameter>number</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>NOT</function> implements the logical <function>NOT</function> function: the result is TRUE if the <parameter>number</parameter> is zero;  otherwise the result is FALSE.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>NOT</function>(0) equals TRUE.</para>
        <para><function>NOT</function>(TRUE) equals FALSE.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-AND"><function>AND</function></link>,
        <link linkend="gnumeric-OR"><function>OR</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OR">
      <refmeta>
        <refentrytitle>
          <function>OR</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OR</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OR</function>(<parameter>b1</parameter>,<parameter/> b2,<parameter/> ...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OR</function> implements the logical <function>OR</function> function: the result is TRUE if any of the values evaluated to TRUE.</para>
        <para><parameter>b1</parameter> through <parameter>bN</parameter> are expressions that should evaluate to TRUE or FALSE. If an integer or floating point value is provided, zero is considered FALSE and anything else is TRUE.</para>
        <itemizedlist>
          <listitem>
            <para>If the values contain strings or empty cells those values are ignored.</para>
          </listitem>
          <listitem>
            <para>If no logical values are provided, then the error #VALUE! is returned.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>OR</function>(TRUE,FALSE) equals TRUE.</para>
        <para><function>OR</function>(3&gt;4,4&lt;3) equals FALSE.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-AND"><function>AND</function></link>,
        <link linkend="gnumeric-NOT"><function>NOT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-TRUE">
      <refmeta>
        <refentrytitle>
          <function>TRUE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>TRUE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>TRUE</function>(<parameter/>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>TRUE</function> returns boolean value true.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>TRUE</function>() equals <function>TRUE</function>.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-FALSE"><function>FALSE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-XOR">
      <refmeta>
        <refentrytitle>
          <function>XOR</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>XOR</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>XOR</function>(<parameter>b1</parameter>,<parameter/> b2,<parameter/> ...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>XOR</function> implements the logical exclusive OR function: the result is TRUE if an odd number of the values evaluated to TRUE.</para>
        <para><parameter>b1</parameter> through <parameter>bN</parameter> are expressions that should evaluate to TRUE or FALSE. If an integer or floating point value is provided, zero is considered FALSE and anything else is TRUE.</para>
        <itemizedlist>
          <listitem>
            <para>If the values contain strings or empty cells those values are ignored.</para>
          </listitem>
          <listitem>
            <para>If no logical values are provided, then the error #VALUE! is returned.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>XOR</function>(TRUE,FALSE) equals TRUE.</para>
        <para><function>XOR</function>(3&gt;4,4&lt;3) equals FALSE.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-OR"><function>OR</function></link>,
        <link linkend="gnumeric-AND"><function>AND</function></link>,
        <link linkend="gnumeric-NOT"><function>NOT</function></link>.
      </para>
      </refsect1>
    </refentry>
  </sect1>
  <sect1 id="CATEGORY_Lookup">
    <title>Lookup</title>
    <refentry id="gnumeric-ADDRESS">
      <refmeta>
        <refentrytitle>
          <function>ADDRESS</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ADDRESS</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ADDRESS</function>(<parameter>row_num</parameter>,<parameter>col_num</parameter>[,<parameter>abs_num</parameter>,<parameter>a1</parameter>,<parameter>text</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ADDRESS</function> returns a cell address as text for specified row and column numbers.</para>
        <para><parameter>a1</parameter> is a logical value that specifies the reference style.  If <parameter>a1</parameter> is TRUE or omitted, <function>ADDRESS</function> returns an A1-style reference, i.e. $D$4.  Otherwise <function>ADDRESS</function> returns an R1C1-style reference, i.e. R4C4.</para>
        <para><parameter>text</parameter> specifies the name of the worksheet to be used as the external reference.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>abs_num</parameter> is 1 or omitted, <function>ADDRESS</function> returns absolute reference.</para>
          </listitem>
          <listitem>
            <para>If <parameter>abs_num</parameter> is 2 <function>ADDRESS</function> returns absolute row and relative column.</para>
          </listitem>
          <listitem>
            <para>If <parameter>abs_num</parameter> is 3 <function>ADDRESS</function> returns relative row and absolute column.</para>
          </listitem>
          <listitem>
            <para>If <parameter>abs_num</parameter> is 4 <function>ADDRESS</function> returns relative reference.</para>
          </listitem>
          <listitem>
            <para>If <parameter>abs_num</parameter> is greater than 4 <function>ADDRESS</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>row_num</parameter> or <parameter>col_num</parameter> is less than one, <function>ADDRESS</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ADDRESS</function>(5,4) equals "$D$5".</para>
        <para><function>ADDRESS</function>(5,4,4) equals "D5".</para>
        <para><function>ADDRESS</function>(5,4,3,FALSE) equals "R[5]C4".</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-COLUMNNUMBER"><function>COLUMNNUMBER</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-AREAS">
      <refmeta>
        <refentrytitle>
          <function>AREAS</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>AREAS</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>AREAS</function>(<parameter>reference</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>AREAS</function> returns the number of areas in <parameter>reference</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>AREAS</function>((A1,B2,C3)) equals 3.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ADDRESS"><function>ADDRESS</function></link>,
        <link linkend="gnumeric-INDEX"><function>INDEX</function></link>,
        <link linkend="gnumeric-INDIRECT"><function>INDIRECT</function></link>,
        <link linkend="gnumeric-OFFSET"><function>OFFSET</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-CHOOSE">
      <refmeta>
        <refentrytitle>
          <function>CHOOSE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>CHOOSE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>CHOOSE</function>(<parameter>index</parameter>[,<parameter>value1</parameter>][,<parameter>value2</parameter>]...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>CHOOSE</function> returns the value of index <parameter>index</parameter>. <parameter>index</parameter> is rounded to an integer if it is not.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>index</parameter> &lt; 1 or <parameter>index</parameter> &gt; number of values, <function>CHOOSE</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>CHOOSE</function>(3,"Apple","Orange","Grape","Perry") equals "Grape".</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-IF"><function>IF</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-COLUMN">
      <refmeta>
        <refentrytitle>
          <function>COLUMN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>COLUMN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>COLUMN</function>(<parameter/>[reference].)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>COLUMN</function> function returns a Nx1 array containing the series of integers from the first column to the last column of <parameter>reference</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para><parameter>reference</parameter> defaults to the position of the current expression.</para>
          </listitem>
          <listitem>
            <para>If <parameter>reference</parameter> is neither an array nor a reference nor a range, returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-COLUMNS"><function>COLUMNS</function></link>,
        <link linkend="gnumeric-ROW"><function>ROW</function></link>,
        <link linkend="gnumeric-ROWS"><function>ROWS</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-COLUMNNUMBER">
      <refmeta>
        <refentrytitle>
          <function>COLUMNNUMBER</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>COLUMNNUMBER</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>COLUMNNUMBER</function>(<parameter>name</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>COLUMNNUMBER</function> function returns an integer corresponding to the column name supplied as a string.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>name</parameter> is invalid, <function>COLUMNNUMBER</function> returns the #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>COLUMNNUMBER</function>("E") equals 5.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ADDRESS"><function>ADDRESS</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-COLUMNS">
      <refmeta>
        <refentrytitle>
          <function>COLUMNS</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>COLUMNS</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>COLUMNS</function>(<parameter>reference</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>COLUMNS</function> function returns the number of columns in area or array reference.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>reference</parameter> is neither an array nor a reference nor a range, <function>COLUMNS</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>COLUMNS</function>(H2:J3) equals 3.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-COLUMN"><function>COLUMN</function></link>,
        <link linkend="gnumeric-ROW"><function>ROW</function></link>,
        <link linkend="gnumeric-ROWS"><function>ROWS</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-HLOOKUP">
      <refmeta>
        <refentrytitle>
          <function>HLOOKUP</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>HLOOKUP</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>HLOOKUP</function>(<parameter>value</parameter>,<parameter>range</parameter>,<parameter>row</parameter>[,<parameter>approximate</parameter>,<parameter>as_index</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>HLOOKUP</function> function finds the col in range that has a first row cell similar to <parameter>value</parameter>.  If <parameter>approximate</parameter> is not true it finds the col with an exact equivalence.  If <parameter>approximate</parameter> is true, then the values must be sorted in order of ascending value for correct function; in this case it finds the col with value less than <parameter>value</parameter> it returns the value in the col found at a 1-based offset in <parameter>row</parameter> rows into the <parameter>range</parameter>.  <parameter>as_index</parameter> returns the 0-based offset that matched rather than the value.</para>
        <itemizedlist>
          <listitem>
            <para><function>HLOOKUP</function> returns #NUM! if <parameter>row</parameter> &lt; 0.</para>
          </listitem>
          <listitem>
            <para><function>HLOOKUP</function> returns #REF! if <parameter>row</parameter> falls outside <parameter>range</parameter>.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-VLOOKUP"><function>VLOOKUP</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-HYPERLINK">
      <refmeta>
        <refentrytitle>
          <function>HYPERLINK</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>HYPERLINK</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>HYPERLINK</function>(<parameter>link_location</parameter>[,<parameter>optional_label</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>HYPERLINK</function> function currently returns its 2nd argument, or if that is omitted the 1st argument.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>HYPERLINK</function>("www.gnome.org","GNOME").</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-INDEX">
      <refmeta>
        <refentrytitle>
          <function>INDEX</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>INDEX</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>INDEX</function>(<parameter>array</parameter>[,<parameter>row</parameter>,<parameter/> col,<parameter/> area])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>INDEX</function> gives a reference to a cell in the given <parameter>array</parameter>.The cell is pointed out by <parameter>row</parameter> and <parameter>col</parameter>, which count the rows and columns in the array.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>row</parameter> and <parameter>col</parameter> are omitted the are assumed to be 1.</para>
          </listitem>
          <listitem>
            <para>If the reference falls outside the range of the <parameter>array</parameter>, <function>INDEX</function> returns a #REF! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1. Then <function>INDEX</function>(A1:A5,4,1,1) equals 25.9</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-INDIRECT">
      <refmeta>
        <refentrytitle>
          <function>INDIRECT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>INDIRECT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>INDIRECT</function>(<parameter>ref_text</parameter>[,<parameter>format</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>INDIRECT</function> function returns the contents of the cell pointed to by the <parameter>ref_text</parameter> string. The string specifies a single cell reference the format of which is either A1 or R1C1 style. The style is set by the <parameter>format</parameter> boolean, which defaults to the A1 style.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>ref_text</parameter> is not a valid reference returns #REF!</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>If A1 contains 3.14 and A2 contains A1, then</para>
        <para><function>INDIRECT</function>(A2) equals 3.14.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-AREAS"><function>AREAS</function></link>,
        <link linkend="gnumeric-INDEX"><function>INDEX</function></link>,
        <link linkend="gnumeric-CELL"><function>CELL</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-LOOKUP">
      <refmeta>
        <refentrytitle>
          <function>LOOKUP</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>LOOKUP</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>LOOKUP</function>(<parameter>value</parameter>,<parameter>vector1</parameter>[,<parameter>vector2</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>LOOKUP</function> function finds the row index of <parameter>value</parameter> in <parameter>vector1</parameter> and returns the contents of <parameter>vector2</parameter> at that row index. Alternatively a single array can be used for <parameter>vector1</parameter>. If the area is longer than it is wide then the sense of the search is rotated.</para>
        <itemizedlist>
          <listitem>
            <para>If <function>LOOKUP</function> can't find <parameter>value</parameter> it uses the largest value less than <parameter>value</parameter>.</para>
          </listitem>
          <listitem>
            <para>The data must be sorted.</para>
          </listitem>
          <listitem>
            <para>If <parameter>value</parameter> is smaller than the first value it returns #N/A.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-VLOOKUP"><function>VLOOKUP</function></link>,
        <link linkend="gnumeric-HLOOKUP"><function>HLOOKUP</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-MATCH">
      <refmeta>
        <refentrytitle>
          <function>MATCH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>MATCH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>MATCH</function>(<parameter>seek</parameter>,<parameter>vector</parameter>[,<parameter>type</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>MATCH</function> function finds the row index of <parameter>seek</parameter> in <parameter>vector</parameter> and returns it.</para>
        <para>If the area is longer than it is wide then the sense of the search is rotated. Alternatively a single array can be used.</para>
        <itemizedlist>
          <listitem>
            <para>The <parameter>type</parameter> parameter, which defaults to +1, controls the search:</para>
          </listitem>
          <listitem>
            <para>If <parameter>type</parameter> = 1, <function>MATCH</function> finds largest value &lt;= <parameter>seek</parameter>.</para>
          </listitem>
          <listitem>
            <para>If <parameter>type</parameter> = 0, <function>MATCH</function> finds first value == <parameter>seek</parameter>.</para>
          </listitem>
          <listitem>
            <para>If <parameter>type</parameter> = -1, <function>MATCH</function> finds smallest value &gt;= <parameter>seek</parameter>.</para>
          </listitem>
          <listitem>
            <para>For <parameter>type</parameter> = 0, the data can be in any order.  * For <parameter>type</parameter> = -1 and <parameter>type</parameter> = +1, the data must be sorted.  (And in these cases, <function>MATCH</function> uses a binary search to locate the index.)</para>
          </listitem>
          <listitem>
            <para>If <parameter>seek</parameter> could not be found, #N/A is returned.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-LOOKUP"><function>LOOKUP</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-OFFSET">
      <refmeta>
        <refentrytitle>
          <function>OFFSET</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>OFFSET</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>OFFSET</function>(<parameter>range</parameter>,<parameter>row</parameter>,<parameter>col</parameter>[,<parameter>height</parameter>[,<parameter>width</parameter>]])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>OFFSET</function> function returns a cell range. The cell range starts at offset (<parameter>row</parameter>,<parameter>col</parameter>) from <parameter>range</parameter>, and is of height <parameter>height</parameter> and width <parameter>width</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>range</parameter> is neither a reference nor a range, <function>OFFSET</function> returns #VALUE!.</para>
          </listitem>
          <listitem>
            <para>If either <parameter>height</parameter> or <parameter>width</parameter> is omitted, the height or width of the reference is used.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-COLUMN"><function>COLUMN</function></link>,
        <link linkend="gnumeric-COLUMNS"><function>COLUMNS</function></link>,
        <link linkend="gnumeric-ROWS"><function>ROWS</function></link>,
        <link linkend="gnumeric-INDEX"><function>INDEX</function></link>,
        <link linkend="gnumeric-INDIRECT"><function>INDIRECT</function></link>,
        <link linkend="gnumeric-ADDRESS"><function>ADDRESS</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ROW">
      <refmeta>
        <refentrytitle>
          <function>ROW</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ROW</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ROW</function>(<parameter/>[reference].)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ROW</function> function returns a 1xN array containing the series of integers from the first row to the last row of <parameter>reference</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para><parameter>reference</parameter> defaults to the position of the current expression.</para>
          </listitem>
          <listitem>
            <para>If <parameter>reference</parameter> is neither an array nor a reference nor a range, returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-COLUMN"><function>COLUMN</function></link>,
        <link linkend="gnumeric-COLUMNS"><function>COLUMNS</function></link>,
        <link linkend="gnumeric-ROWS"><function>ROWS</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ROWS">
      <refmeta>
        <refentrytitle>
          <function>ROWS</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ROWS</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ROWS</function>(<parameter>reference</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ROWS</function> function returns the number of rows in area or array reference.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>reference</parameter> is neither an array nor a reference nor a range, <function>ROWS</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ROWS</function>(H7:I13) equals 7.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-COLUMN"><function>COLUMN</function></link>,
        <link linkend="gnumeric-COLUMNS"><function>COLUMNS</function></link>,
        <link linkend="gnumeric-ROW"><function>ROW</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-TRANSPOSE">
      <refmeta>
        <refentrytitle>
          <function>TRANSPOSE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>TRANSPOSE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>TRANSPOSE</function>(<parameter>matrix</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>TRANSPOSE</function> function returns the transpose of the input <parameter>matrix</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-MMULT"><function>MMULT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-VLOOKUP">
      <refmeta>
        <refentrytitle>
          <function>VLOOKUP</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>VLOOKUP</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>VLOOKUP</function>(<parameter>value</parameter>,<parameter>range</parameter>,<parameter>column</parameter>[,<parameter>approximate</parameter>,<parameter>as_index</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>VLOOKUP</function> function finds the row in range that has a first column similar to <parameter>value</parameter>.  If <parameter>approximate</parameter> is not true it finds the row with an exact equivalence.  If <parameter>approximate</parameter> is true, then the values must be sorted in order of ascending value for correct function; in this case it finds the row with value less than <parameter>value</parameter>.  It returns the value in the row found at a 1-based offset in <parameter>column</parameter> columns into the <parameter>range</parameter>.  <parameter>as_index</parameter> returns the 0-based offset that matched rather than the value.</para>
        <itemizedlist>
          <listitem>
            <para><function>VLOOKUP</function> returns #NUM! if <parameter>column</parameter> &lt; 0.</para>
          </listitem>
          <listitem>
            <para><function>VLOOKUP</function> returns #REF! if <parameter>column</parameter> falls outside <parameter>range</parameter>.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-HLOOKUP"><function>HLOOKUP</function></link>.
      </para>
      </refsect1>
    </refentry>
  </sect1>
  <sect1 id="CATEGORY_Mathematics">
    <title>Mathematics</title>
    <refentry id="gnumeric-ABS">
      <refmeta>
        <refentrytitle>
          <function>ABS</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ABS</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ABS</function>(<parameter>b1</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ABS</function> implements the Absolute Value function:  the result is to drop the negative sign (if present).  This can be done for integers and floating point numbers.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ABS</function>(7) equals 7.</para>
        <para><function>ABS</function>(-3.14) equals 3.14.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-CEIL"><function>CEIL</function></link>,
        <link linkend="gnumeric-CEILING"><function>CEILING</function></link>,
        <link linkend="gnumeric-FLOOR"><function>FLOOR</function></link>,
        <link linkend="gnumeric-INT"><function>INT</function></link>,
        <link linkend="gnumeric-MOD"><function>MOD</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ACOS">
      <refmeta>
        <refentrytitle>
          <function>ACOS</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ACOS</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ACOS</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ACOS</function> function calculates the arc cosine of <parameter>x</parameter>; that is the value whose cosine is <parameter>x</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>The value it returns is in radians.</para>
          </listitem>
          <listitem>
            <para>If <parameter>x</parameter> falls outside the range -1 to 1, <function>ACOS</function> returns the #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ACOS</function>(0.1) equals 1.470629.</para>
        <para><function>ACOS</function>(-0.1) equals 1.670964.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-COS"><function>COS</function></link>,
        <link linkend="gnumeric-SIN"><function>SIN</function></link>,
        <link linkend="gnumeric-DEGREES"><function>DEGREES</function></link>,
        <link linkend="gnumeric-RADIANS"><function>RADIANS</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ACOSH">
      <refmeta>
        <refentrytitle>
          <function>ACOSH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ACOSH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ACOSH</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ACOSH</function>  function  calculates  the inverse hyperbolic cosine of <parameter>x</parameter>; that is the value whose hyperbolic cosine is <parameter>x</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>x</parameter> is less than 1.0, <function>ACOSH</function>() returns the #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ACOSH</function>(2) equals 1.31696.</para>
        <para><function>ACOSH</function>(5.3) equals 2.35183.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ACOS"><function>ACOS</function></link>,
        <link linkend="gnumeric-ASINH"><function>ASINH</function></link>,
        <link linkend="gnumeric-DEGREES"><function>DEGREES</function></link>,
        <link linkend="gnumeric-RADIANS"><function>RADIANS</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ASIN">
      <refmeta>
        <refentrytitle>
          <function>ASIN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ASIN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ASIN</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ASIN</function> function calculates the arc sine of <parameter>x</parameter>; that is the value whose sine is <parameter>x</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>x</parameter> falls outside the range -1 to 1, <function>ASIN</function> returns the #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ASIN</function>(0.5) equals 0.523599.</para>
        <para><function>ASIN</function>(1) equals 1.570797.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-SIN"><function>SIN</function></link>,
        <link linkend="gnumeric-COS"><function>COS</function></link>,
        <link linkend="gnumeric-ASINH"><function>ASINH</function></link>,
        <link linkend="gnumeric-DEGREES"><function>DEGREES</function></link>,
        <link linkend="gnumeric-RADIANS"><function>RADIANS</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ASINH">
      <refmeta>
        <refentrytitle>
          <function>ASINH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ASINH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ASINH</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ASINH</function> function calculates the inverse hyperbolic sine of <parameter>x</parameter>; that is the value whose hyperbolic sine is <parameter>x</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ASINH</function>(0.5) equals 0.481212.</para>
        <para><function>ASINH</function>(1.0) equals 0.881374.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ASIN"><function>ASIN</function></link>,
        <link linkend="gnumeric-ACOSH"><function>ACOSH</function></link>,
        <link linkend="gnumeric-SIN"><function>SIN</function></link>,
        <link linkend="gnumeric-COS"><function>COS</function></link>,
        <link linkend="gnumeric-DEGREES"><function>DEGREES</function></link>,
        <link linkend="gnumeric-RADIANS"><function>RADIANS</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ATAN">
      <refmeta>
        <refentrytitle>
          <function>ATAN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ATAN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ATAN</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ATAN</function> function calculates the arc tangent of <parameter>x</parameter>; that is the value whose tangent is <parameter>x</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>Return value is in radians.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ATAN</function>(0.5) equals 0,463648.</para>
        <para><function>ATAN</function>(1) equals 0,785398.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-TAN"><function>TAN</function></link>,
        <link linkend="gnumeric-COS"><function>COS</function></link>,
        <link linkend="gnumeric-SIN"><function>SIN</function></link>,
        <link linkend="gnumeric-DEGREES"><function>DEGREES</function></link>,
        <link linkend="gnumeric-RADIANS"><function>RADIANS</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ATAN2">
      <refmeta>
        <refentrytitle>
          <function>ATAN2</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ATAN2</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ATAN2</function>(<parameter>b1</parameter>,<parameter>b2</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ATAN2</function> function calculates the arc tangent of the two variables <parameter>b1</parameter> and <parameter>b2</parameter>.  It is similar to calculating the arc tangent of <parameter>b2</parameter> / <parameter>b1</parameter>, except that the signs of both arguments are used to determine the quadrant of the result.</para>
        <itemizedlist>
          <listitem>
            <para>The result is in radians.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ATAN2</function>(0.5,1.0) equals 1.107149.</para>
        <para><function>ATAN2</function>(-0.5,2.0) equals 1.815775.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ATAN"><function>ATAN</function></link>,
        <link linkend="gnumeric-ATANH"><function>ATANH</function></link>,
        <link linkend="gnumeric-COS"><function>COS</function></link>,
        <link linkend="gnumeric-SIN"><function>SIN</function></link>,
        <link linkend="gnumeric-DEGREES"><function>DEGREES</function></link>,
        <link linkend="gnumeric-RADIANS"><function>RADIANS</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ATANH">
      <refmeta>
        <refentrytitle>
          <function>ATANH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ATANH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ATANH</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ATANH</function> function calculates the inverse hyperbolic tangent of <parameter>x</parameter>; that is the value whose hyperbolic tangent is <parameter>x</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If the absolute value of <parameter>x</parameter> is greater than 1.0, <function>ATANH</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ATANH</function>(0.5) equals 0.549306.</para>
        <para><function>ATANH</function>(0.8) equals 1.098612.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ATAN"><function>ATAN</function></link>,
        <link linkend="gnumeric-TAN"><function>TAN</function></link>,
        <link linkend="gnumeric-SIN"><function>SIN</function></link>,
        <link linkend="gnumeric-COS"><function>COS</function></link>,
        <link linkend="gnumeric-DEGREES"><function>DEGREES</function></link>,
        <link linkend="gnumeric-RADIANS"><function>RADIANS</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-BETA">
      <refmeta>
        <refentrytitle>
          <function>BETA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>BETA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>BETA</function>(<parameter>a</parameter>,<parameter>b</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>BETA</function> function returns the value of the mathematical beta function extended to all real numbers except 0 and negative integers.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>a</parameter>, <parameter>b</parameter>, or (<parameter>a</parameter> + <parameter>b</parameter>) are non-positive integers, <function>BETA</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>BETA</function>(2,3) equals 0.083333.</para>
        <para><function>BETA</function>(-0.5,0.5) equals #NUM!.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-BETALN"><function>BETALN</function></link>,
        <link linkend="gnumeric-GAMMALN"><function>GAMMALN</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-BETALN">
      <refmeta>
        <refentrytitle>
          <function>BETALN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>BETALN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>BETALN</function>(<parameter>a</parameter>,<parameter>b</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>BETALN</function> function returns the natural logarithm of the absolute value of the beta function.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>a</parameter>, <parameter>b</parameter>, or (<parameter>a</parameter> + <parameter>b</parameter>) are non-positive integers, <function>BETALN</function> returns #NUM!</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>BETALN</function>(2,3) equals -2.48.</para>
        <para><function>BETALN</function>(-0.5,0.5) equals #NUM!.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-BETA"><function>BETA</function></link>,
        <link linkend="gnumeric-GAMMALN"><function>GAMMALN</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-CEIL">
      <refmeta>
        <refentrytitle>
          <function>CEIL</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>CEIL</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>CEIL</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>CEIL</function> function rounds <parameter>x</parameter> up to the next nearest integer.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>CEIL</function>(0.4) equals 1.</para>
        <para><function>CEIL</function>(-1.1) equals -1.</para>
        <para><function>CEIL</function>(-2.9) equals -2.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-CEILING"><function>CEILING</function></link>,
        <link linkend="gnumeric-FLOOR"><function>FLOOR</function></link>,
        <link linkend="gnumeric-ABS"><function>ABS</function></link>,
        <link linkend="gnumeric-INT"><function>INT</function></link>,
        <link linkend="gnumeric-MOD"><function>MOD</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-CEILING">
      <refmeta>
        <refentrytitle>
          <function>CEILING</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>CEILING</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>CEILING</function>(<parameter>x</parameter>[,<parameter>significance</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>CEILING</function> function rounds <parameter>x</parameter> up to the nearest multiple of <parameter>significance</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>x</parameter> or <parameter>significance</parameter> is non-numeric <function>CEILING</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>x</parameter> and <parameter>significance</parameter> have different signs <function>CEILING</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>CEILING</function>(2.43,1) equals 3.</para>
        <para><function>CEILING</function>(123.123,3) equals 126.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-CEIL"><function>CEIL</function></link>,
        <link linkend="gnumeric-FLOOR"><function>FLOOR</function></link>,
        <link linkend="gnumeric-ABS"><function>ABS</function></link>,
        <link linkend="gnumeric-INT"><function>INT</function></link>,
        <link linkend="gnumeric-MOD"><function>MOD</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-COMBIN">
      <refmeta>
        <refentrytitle>
          <function>COMBIN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>COMBIN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>COMBIN</function>(<parameter>n</parameter>,<parameter>k</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>COMBIN</function> computes the number of combinations.</para>
        <itemizedlist>
          <listitem>
            <para>Performing this function on a non-integer or a negative number returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>n</parameter> is less than <parameter>k</parameter> <function>COMBIN</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>COMBIN</function>(8,6) equals 28.</para>
        <para><function>COMBIN</function>(6,2) equals 15.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-COS">
      <refmeta>
        <refentrytitle>
          <function>COS</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>COS</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>COS</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>COS</function> function returns the cosine of <parameter>x</parameter>, where <parameter>x</parameter> is given in radians.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>COS</function>(0.5) equals 0.877583.</para>
        <para><function>COS</function>(1) equals 0.540302.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-COSH"><function>COSH</function></link>,
        <link linkend="gnumeric-SIN"><function>SIN</function></link>,
        <link linkend="gnumeric-SINH"><function>SINH</function></link>,
        <link linkend="gnumeric-TAN"><function>TAN</function></link>,
        <link linkend="gnumeric-TANH"><function>TANH</function></link>,
        <link linkend="gnumeric-RADIANS"><function>RADIANS</function></link>,
        <link linkend="gnumeric-DEGREES"><function>DEGREES</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-COSH">
      <refmeta>
        <refentrytitle>
          <function>COSH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>COSH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>COSH</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>COSH</function> function returns the hyperbolic cosine of <parameter>x</parameter>, which is defined mathematically as</para>
        <para>	(exp(<parameter>x</parameter>) + exp(-<parameter>x</parameter>)) / 2.</para>
        <itemizedlist>
          <listitem>
            <para><parameter>x</parameter> is in radians.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>COSH</function>(0.5) equals 1.127626.</para>
        <para><function>COSH</function>(1) equals 1.543081.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-COS"><function>COS</function></link>,
        <link linkend="gnumeric-SIN"><function>SIN</function></link>,
        <link linkend="gnumeric-SINH"><function>SINH</function></link>,
        <link linkend="gnumeric-TAN"><function>TAN</function></link>,
        <link linkend="gnumeric-TANH"><function>TANH</function></link>,
        <link linkend="gnumeric-RADIANS"><function>RADIANS</function></link>,
        <link linkend="gnumeric-DEGREES"><function>DEGREES</function></link>,
        <link linkend="gnumeric-EXP"><function>EXP</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-COUNTIF">
      <refmeta>
        <refentrytitle>
          <function>COUNTIF</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>COUNTIF</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>COUNTIF</function>(<parameter>range</parameter>,<parameter>criteria</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>COUNTIF</function> function counts the number of cells in the given <parameter>range</parameter> that meet the given <parameter>criteria</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 23, 27, 28, 33, and 39.  Then</para>
        <para><function>COUNTIF</function>(A1:A5,"&lt;=28") equals 3.</para>
        <para><function>COUNTIF</function>(A1:A5,"&lt;28") equals 2.</para>
        <para><function>COUNTIF</function>(A1:A5,"28") equals 1.</para>
        <para><function>COUNTIF</function>(A1:A5,"&gt;28") equals 2.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-COUNT"><function>COUNT</function></link>,
        <link linkend="gnumeric-SUMIF"><function>SUMIF</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DEGREES">
      <refmeta>
        <refentrytitle>
          <function>DEGREES</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DEGREES</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DEGREES</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DEGREES</function> computes the number of degrees equivalent to <parameter>x</parameter> radians.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>DEGREES</function>(2.5) equals 143.2394.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RADIANS"><function>RADIANS</function></link>,
        <link linkend="gnumeric-PI"><function>PI</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-EVEN">
      <refmeta>
        <refentrytitle>
          <function>EVEN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>EVEN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>EVEN</function>(<parameter>number</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>EVEN</function> function returns the number rounded up to the nearest even integer.  Negative numbers are rounded down.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>EVEN</function>(5.4) equals 6.</para>
        <para><function>EVEN</function>(-5.4) equals -6.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ODD"><function>ODD</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-EXP">
      <refmeta>
        <refentrytitle>
          <function>EXP</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>EXP</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>EXP</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>EXP</function> computes the value of e (the base of natural logarithms) raised to the power of <parameter>x</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>EXP</function>(2) equals 7.389056.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-LOG"><function>LOG</function></link>,
        <link linkend="gnumeric-LOG2"><function>LOG2</function></link>,
        <link linkend="gnumeric-LOG10"><function>LOG10</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-EXPM1">
      <refmeta>
        <refentrytitle>
          <function>EXPM1</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>EXPM1</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>EXPM1</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>EXPM1</function> computes EXP(<parameter>x</parameter>)-1 with higher resulting precision than the direct formula.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>EXPM1</function>(0.01) equals 0.01005.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-EXP"><function>EXP</function></link>,
        <link linkend="gnumeric-LN1P"><function>LN1P</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-FACT">
      <refmeta>
        <refentrytitle>
          <function>FACT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>FACT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>FACT</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>FACT</function> computes the factorial of <parameter>x</parameter>. ie, <parameter>x</parameter>!</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>FACT</function>(3) equals 6.</para>
        <para><function>FACT</function>(9) equals 362880.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-FACTDOUBLE">
      <refmeta>
        <refentrytitle>
          <function>FACTDOUBLE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>FACTDOUBLE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>FACTDOUBLE</function>(<parameter>number</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>FACTDOUBLE</function> function returns the double factorial of a <parameter>number</parameter>, i.e., x!!.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>number</parameter> is not an integer, it is truncated.</para>
          </listitem>
          <listitem>
            <para>If <parameter>number</parameter> is negative <function>FACTDOUBLE</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>FACTDOUBLE</function>(5) equals 15.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-FACT"><function>FACT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-FIB">
      <refmeta>
        <refentrytitle>
          <function>FIB</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>FIB</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>FIB</function>(<parameter>number</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>FIB</function> function computes Fibonacci numbers.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>number</parameter> is not an integer, it is truncated.</para>
          </listitem>
          <listitem>
            <para>If <parameter>number</parameter> is negative or zero <function>FIB</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>FIB</function>(12) equals 144.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-FLOOR">
      <refmeta>
        <refentrytitle>
          <function>FLOOR</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>FLOOR</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>FLOOR</function>(<parameter>x</parameter>,<parameter>significance</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>FLOOR</function> function rounds <parameter>x</parameter> down to the next nearest multiple of <parameter>significance</parameter>.</para>
        <para><parameter>x</parameter>: value.</para>
        <para><parameter>significance</parameter>: base multiple (defaults to 1 for <parameter>x</parameter> &gt; 0 and -1 for <parameter>x</parameter> &lt;0)</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-CEIL"><function>CEIL</function></link>,
        <link linkend="gnumeric-CEILING"><function>CEILING</function></link>,
        <link linkend="gnumeric-ABS"><function>ABS</function></link>,
        <link linkend="gnumeric-INT"><function>INT</function></link>,
        <link linkend="gnumeric-MOD"><function>MOD</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-G_PRODUCT">
      <refmeta>
        <refentrytitle>
          <function>G_PRODUCT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>G_PRODUCT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>G_PRODUCT</function>(<parameter>value1</parameter>,<parameter/> value2,<parameter/> ...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>G_PRODUCT</function> returns the product of all the values and cells referenced in the argument list.</para>
        <itemizedlist>
          <listitem>
            <para>Empty cells are ignored and the empty product is 1.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>G_PRODUCT</function>(2,5,9) equals 90.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-SUM"><function>SUM</function></link>,
        <link linkend="gnumeric-COUNT"><function>COUNT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-GCD">
      <refmeta>
        <refentrytitle>
          <function>GCD</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>GCD</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>GCD</function>(<parameter>number1</parameter>,<parameter>number2</parameter>,<parameter/>...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>GCD</function> returns the greatest common divisor of given numbers.</para>
        <itemizedlist>
          <listitem>
            <para>If any of the arguments is less than one, <function>GCD</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If any of the arguments is non-integer, it is truncated.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>GCD</function>(470,770) equals 10.</para>
        <para><function>GCD</function>(470,770,1495) equals 5.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-LCM"><function>LCM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-HYPOT">
      <refmeta>
        <refentrytitle>
          <function>HYPOT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>HYPOT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>HYPOT</function>(<parameter>number1</parameter>,<parameter>number2</parameter>,<parameter/>...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>HYPOT</function> returns the square root of the sum of the squares of the arguments.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>HYPOT</function>(3,4) equals 5.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-MIN"><function>MIN</function></link>,
        <link linkend="gnumeric-MAX"><function>MAX</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-INT">
      <refmeta>
        <refentrytitle>
          <function>INT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>INT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>INT</function>(<parameter>a</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>INT</function> function returns the largest integer that is not bigger than its argument.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>INT</function>(7.2) equals 7.</para>
        <para><function>INT</function>(-5.5) equals -6.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-CEIL"><function>CEIL</function></link>,
        <link linkend="gnumeric-CEILING"><function>CEILING</function></link>,
        <link linkend="gnumeric-FLOOR"><function>FLOOR</function></link>,
        <link linkend="gnumeric-ABS"><function>ABS</function></link>,
        <link linkend="gnumeric-MOD"><function>MOD</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-LCM">
      <refmeta>
        <refentrytitle>
          <function>LCM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>LCM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>LCM</function>(<parameter>number1</parameter>,<parameter>number2</parameter>,<parameter/>...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>LCM</function> returns the least common multiple of integers.  The least common multiple is the smallest positive number that is a multiple of all integer arguments given.</para>
        <itemizedlist>
          <listitem>
            <para>If any of the arguments is less than one, <function>LCM</function> returns #NUM!.</para>
          </listitem>
          <listitem>
            <para>If any of the arguments is non-integer, it is truncated.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>LCM</function>(2,13) equals 26.</para>
        <para><function>LCM</function>(4,7,5) equals 140.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-GCD"><function>GCD</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-LN">
      <refmeta>
        <refentrytitle>
          <function>LN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>LN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>LN</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>LN</function> returns the natural logarithm of <parameter>x</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>x</parameter> &lt;= 0, <function>LN</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>LN</function>(7) equals 1.94591.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-EXP"><function>EXP</function></link>,
        <link linkend="gnumeric-LOG2"><function>LOG2</function></link>,
        <link linkend="gnumeric-LOG10"><function>LOG10</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-LN1P">
      <refmeta>
        <refentrytitle>
          <function>LN1P</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>LN1P</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>LN1P</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>LN1P</function> computes LN(1+<parameter>x</parameter>) with higher resulting precision than the direct formula.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>x</parameter> &lt;= -1, <function>LN1P</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>LN1P</function>(0.01) equals 0.00995.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-LN"><function>LN</function></link>,
        <link linkend="gnumeric-EXPM1"><function>EXPM1</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-LOG">
      <refmeta>
        <refentrytitle>
          <function>LOG</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>LOG</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>LOG</function>(<parameter>x</parameter>[,<parameter>base</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>LOG</function> computes the logarithm of <parameter>x</parameter> in the given base <parameter>base</parameter>.  If no <parameter>base</parameter> is given <function>LOG</function> returns the logarithm in base 10. <parameter>base</parameter> must be &gt; 0. and cannot equal 1.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>LOG</function>(2) equals 0.30103.</para>
        <para><function>LOG</function>(8192,2) equals 13.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-LN"><function>LN</function></link>,
        <link linkend="gnumeric-LOG2"><function>LOG2</function></link>,
        <link linkend="gnumeric-LOG10"><function>LOG10</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-LOG10">
      <refmeta>
        <refentrytitle>
          <function>LOG10</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>LOG10</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>LOG10</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>LOG10</function> computes the base-10 logarithm of <parameter>x</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>x</parameter> &lt;= 0, <function>LOG10</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>LOG10</function>(7) equals 0.845098.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-EXP"><function>EXP</function></link>,
        <link linkend="gnumeric-LOG2"><function>LOG2</function></link>,
        <link linkend="gnumeric-LOG"><function>LOG</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-LOG2">
      <refmeta>
        <refentrytitle>
          <function>LOG2</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>LOG2</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>LOG2</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>LOG2</function> computes the base-2 logarithm of <parameter>x</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>x</parameter> &lt;= 0, <function>LOG2</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>LOG2</function>(1024) equals 10.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-EXP"><function>EXP</function></link>,
        <link linkend="gnumeric-LOG10"><function>LOG10</function></link>,
        <link linkend="gnumeric-LOG"><function>LOG</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-MDETERM">
      <refmeta>
        <refentrytitle>
          <function>MDETERM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>MDETERM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>MDETERM</function>(<parameter>matrix</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>MDETERM</function> function returns the determinant of a given matrix.</para>
        <itemizedlist>
          <listitem>
            <para>If the <parameter>matrix</parameter> does not contain equal number of columns and rows, <function>MDETERM</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that A1, ..., A4 contain numbers 2, 3, 7, and 3, B1, ..., B4 4, 2, 4, and 1, C1, ..., C4 9, 4, 3, and 2, and D1, ..., D4 7, 3, 6, and 5. Then</para>
        <para><function>MDETERM</function>(A1:D4) equals 148.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-MMULT"><function>MMULT</function></link>,
        <link linkend="gnumeric-MINVERSE"><function>MINVERSE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-MINVERSE">
      <refmeta>
        <refentrytitle>
          <function>MINVERSE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>MINVERSE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>MINVERSE</function>(<parameter>matrix</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>MINVERSE</function> function returns the inverse matrix of <parameter>matrix</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>matrix</parameter> cannot be inverted, <function>MINVERSE</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>matrix</parameter> does not contain equal number of columns and rows, <function>MINVERSE</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-MMULT"><function>MMULT</function></link>,
        <link linkend="gnumeric-MDETERM"><function>MDETERM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-MMULT">
      <refmeta>
        <refentrytitle>
          <function>MMULT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>MMULT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>MMULT</function>(<parameter>array1</parameter>,<parameter>array2</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>MMULT</function> function returns the matrix product of two arrays. The result is an array with the same number of rows as <parameter>array1</parameter> and the same number of columns as <parameter>array2</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-TRANSPOSE"><function>TRANSPOSE</function></link>,
        <link linkend="gnumeric-MINVERSE"><function>MINVERSE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-MOD">
      <refmeta>
        <refentrytitle>
          <function>MOD</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>MOD</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>MOD</function>(<parameter>number</parameter>,<parameter>divisor</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>MOD</function> function returns the remainder when <parameter>divisor</parameter> is divided into <parameter>number</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para><function>MOD</function> returns #DIV/0! if <parameter>divisor</parameter> is zero.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>MOD</function>(23,7) equals 2.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-CEIL"><function>CEIL</function></link>,
        <link linkend="gnumeric-CEILING"><function>CEILING</function></link>,
        <link linkend="gnumeric-FLOOR"><function>FLOOR</function></link>,
        <link linkend="gnumeric-ABS"><function>ABS</function></link>,
        <link linkend="gnumeric-INT"><function>INT</function></link>,
        <link linkend="gnumeric-ABS"><function>ABS</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-MROUND">
      <refmeta>
        <refentrytitle>
          <function>MROUND</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>MROUND</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>MROUND</function>(<parameter>number</parameter>,<parameter>multiple</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>MROUND</function> function rounds a given number to the desired multiple.</para>
        <para><parameter>number</parameter> is the number you want rounded and <parameter>multiple</parameter> is the the multiple to which you want to round the number.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>number</parameter> and <parameter>multiple</parameter> have different sign, <function>MROUND</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>MROUND</function>(1.7,0.2) equals 1.8.</para>
        <para><function>MROUND</function>(321.123,0.12) equals 321.12.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ROUNDDOWN"><function>ROUNDDOWN</function></link>,
        <link linkend="gnumeric-ROUND"><function>ROUND</function></link>,
        <link linkend="gnumeric-ROUNDUP"><function>ROUNDUP</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-MULTINOMIAL">
      <refmeta>
        <refentrytitle>
          <function>MULTINOMIAL</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>MULTINOMIAL</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>MULTINOMIAL</function>(<parameter>value1</parameter>,<parameter/> value2,<parameter/> ...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>MULTINOMIAL</function> returns the ratio of the factorial of a sum of values to the product of factorials.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>MULTINOMIAL</function>(2,3,4) equals 1260.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-SUM"><function>SUM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ODD">
      <refmeta>
        <refentrytitle>
          <function>ODD</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ODD</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ODD</function>(<parameter>number</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ODD</function> function returns the <parameter>number</parameter> rounded up to the nearest odd integer.  Negative numbers are rounded down.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ODD</function>(4.4) equals 5.</para>
        <para><function>ODD</function>(-4.4) equals -5.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-EVEN"><function>EVEN</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-PI">
      <refmeta>
        <refentrytitle>
          <function>PI</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>PI</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>PI</function>(<parameter/>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>PI</function> functions returns the value of pi.</para>
        <itemizedlist>
          <listitem>
            <para>This function is called with no arguments.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible, except that it returns pi with a better precision.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>PI</function>() equals about 3.141593.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-SQRTPI"><function>SQRTPI</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-POWER">
      <refmeta>
        <refentrytitle>
          <function>POWER</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>POWER</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>POWER</function>(<parameter>x</parameter>,<parameter>y</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>POWER</function> returns the value of <parameter>x</parameter> raised to the power <parameter>y</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If both <parameter>x</parameter> and <parameter>y</parameter> equal 0, <function>POWER</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>x</parameter> = 0 and <parameter>y</parameter> &lt; 0, <function>POWER</function> returns #DIV/0! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>x</parameter> &lt; 0 and <parameter>y</parameter> is non-integer, <function>POWER</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>POWER</function>(2,7) equals 128.</para>
        <para><function>POWER</function>(3,3.141) equals 31.523749.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-EXP"><function>EXP</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-PRODUCT">
      <refmeta>
        <refentrytitle>
          <function>PRODUCT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>PRODUCT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>PRODUCT</function>(<parameter>value1</parameter>,<parameter/> value2,<parameter/> ...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>PRODUCT</function> returns the product of all the values and cells referenced in the argument list.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.  In particular, this means that if all cells are empty, the result will be 0.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>PRODUCT</function>(2,5,9) equals 90.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-SUM"><function>SUM</function></link>,
        <link linkend="gnumeric-COUNT"><function>COUNT</function></link>,
        <link linkend="gnumeric-G_PRODUCT"><function>G_PRODUCT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-QUOTIENT">
      <refmeta>
        <refentrytitle>
          <function>QUOTIENT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>QUOTIENT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>QUOTIENT</function>(<parameter>numerator</parameter>,<parameter>denominator</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>QUOTIENT</function> function returns the integer portion of a division.  <parameter>numerator</parameter> is the divided number and <parameter>denominator</parameter> is the divisor.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>QUOTIENT</function>(23,5) equals 4.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-MOD"><function>MOD</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RADIANS">
      <refmeta>
        <refentrytitle>
          <function>RADIANS</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RADIANS</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RADIANS</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RADIANS</function> computes the number of radians equivalent to <parameter>x</parameter> degrees.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RADIANS</function>(180) equals 3.14159.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-PI"><function>PI</function></link>,
        <link linkend="gnumeric-DEGREES"><function>DEGREES</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ROMAN">
      <refmeta>
        <refentrytitle>
          <function>ROMAN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ROMAN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ROMAN</function>(<parameter>number</parameter>[,<parameter>type</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ROMAN</function> function returns an arabic number in the roman numeral style, as text. <parameter>number</parameter> is the number you want to convert and <parameter>type</parameter> is the type of roman numeral you want.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>type</parameter> is 0 or it is omitted, <function>ROMAN</function> returns classic roman numbers.</para>
          </listitem>
          <listitem>
            <para>Type 1 is more concise than classic type, type 2 is more concise than type 1, and type 3 is more concise than type 2.  Type 4 is simplified type.</para>
          </listitem>
          <listitem>
            <para>If <parameter>number</parameter> is negative or greater than 3999, <function>ROMAN</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ROMAN</function>(999) equals CMXCIX.</para>
        <para><function>ROMAN</function>(999,1) equals LMVLIV.</para>
        <para><function>ROMAN</function>(999,2) equals XMIX.</para>
        <para><function>ROMAN</function>(999,3) equals VMIV.</para>
        <para><function>ROMAN</function>(999,4) equals IM.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ROUND">
      <refmeta>
        <refentrytitle>
          <function>ROUND</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ROUND</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ROUND</function>(<parameter>number</parameter>[,<parameter>digits</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ROUND</function> function rounds a given number.</para>
        <para><parameter>number</parameter> is the number you want rounded and <parameter>digits</parameter> is the number of digits to which you want to round that number.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>digits</parameter> is greater than zero, <parameter>number</parameter> is rounded to the given number of digits.</para>
          </listitem>
          <listitem>
            <para>If <parameter>digits</parameter> is zero or omitted, <parameter>number</parameter> is rounded to the nearest integer.</para>
          </listitem>
          <listitem>
            <para>If <parameter>digits</parameter> is less than zero, <parameter>number</parameter> is rounded to the left of the decimal point.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ROUND</function>(5.5) equals 6.</para>
        <para><function>ROUND</function>(-3.3) equals -3.</para>
        <para><function>ROUND</function>(1501.15,1) equals 1501.2.</para>
        <para><function>ROUND</function>(1501.15,-2) equals 1500.0.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ROUNDDOWN"><function>ROUNDDOWN</function></link>,
        <link linkend="gnumeric-ROUNDUP"><function>ROUNDUP</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ROUNDDOWN">
      <refmeta>
        <refentrytitle>
          <function>ROUNDDOWN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ROUNDDOWN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ROUNDDOWN</function>(<parameter>number</parameter>[,<parameter>digits</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ROUNDDOWN</function> function rounds a given <parameter>number</parameter> towards 0.</para>
        <para><parameter>number</parameter> is the number you want rounded toward 0 and <parameter>digits</parameter> is the number of digits to which you want to round that number.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>digits</parameter> is greater than zero, <parameter>number</parameter> is rounded toward 0 to the given number of digits.</para>
          </listitem>
          <listitem>
            <para>If <parameter>digits</parameter> is zero or omitted, <parameter>number</parameter> is rounded toward 0 to the next integer.</para>
          </listitem>
          <listitem>
            <para>If <parameter>digits</parameter> is less than zero, <parameter>number</parameter> is rounded toward 0 to the left of the decimal point.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ROUNDDOWN</function>(5.5) equals 5.</para>
        <para><function>ROUNDDOWN</function>(-3.3) equals -3.</para>
        <para><function>ROUNDDOWN</function>(1501.15,1) equals 1501.1.</para>
        <para><function>ROUNDDOWN</function>(1501.15,-2) equals 1500.0.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ROUND"><function>ROUND</function></link>,
        <link linkend="gnumeric-ROUNDUP"><function>ROUNDUP</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ROUNDUP">
      <refmeta>
        <refentrytitle>
          <function>ROUNDUP</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ROUNDUP</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ROUNDUP</function>(<parameter>number</parameter>[,<parameter>digits</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ROUNDUP</function> function rounds a given number away from 0.</para>
        <para><parameter>number</parameter> is the number you want rounded away from 0 and <parameter>digits</parameter> is the number of digits to which you want to round that number.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>digits</parameter> is greater than zero, <parameter>number</parameter> is rounded away from 0 to the given number of digits.</para>
          </listitem>
          <listitem>
            <para>If <parameter>digits</parameter> is zero or omitted, <parameter>number</parameter> is rounded away from 0 to the next integer.</para>
          </listitem>
          <listitem>
            <para>If <parameter>digits</parameter> is less than zero, <parameter>number</parameter> is rounded away from 0 to the left of the decimal point.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>ROUNDUP</function>(5.5) equals 6.</para>
        <para><function>ROUNDUP</function>(-3.3) equals -4.</para>
        <para><function>ROUNDUP</function>(1501.15,1) equals 1501.2.</para>
        <para><function>ROUNDUP</function>(1501.15,-2) equals 1600.0.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ROUND"><function>ROUND</function></link>,
        <link linkend="gnumeric-ROUNDDOWN"><function>ROUNDDOWN</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-SERIESSUM">
      <refmeta>
        <refentrytitle>
          <function>SERIESSUM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>SERIESSUM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>SERIESSUM</function>(<parameter>x</parameter>,<parameter>n</parameter>,<parameter>m</parameter>,<parameter>coefficients</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>SERIESSUM</function> function returns the sum of a power series.  <parameter>x</parameter> is the base of the power series, <parameter>n</parameter> is the initial power to raise <parameter>x</parameter>, <parameter>m</parameter> is the increment to the power for each term in the series, and <parameter>coefficients</parameter> are the coefficients by which each successive power of <parameter>x</parameter> is multiplied.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 1.23, 2.32, 2.98, 3.42, and 4.33.  Then</para>
        <para><function>SERIESSUM</function>(3,1,2.23,A1:A5) equals 251416.43018.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-COUNT"><function>COUNT</function></link>,
        <link linkend="gnumeric-SUM"><function>SUM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-SIGN">
      <refmeta>
        <refentrytitle>
          <function>SIGN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>SIGN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>SIGN</function>(<parameter>number</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>SIGN</function> function returns 1 if the <parameter>number</parameter> is positive, zero if the <parameter>number</parameter> is 0, and -1 if the <parameter>number</parameter> is negative.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>SIGN</function>(3) equals 1.</para>
        <para><function>SIGN</function>(-3) equals -1.</para>
        <para><function>SIGN</function>(0) equals 0.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-SIN">
      <refmeta>
        <refentrytitle>
          <function>SIN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>SIN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>SIN</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>SIN</function> function returns the sine of <parameter>x</parameter>, where <parameter>x</parameter> is given in radians.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>SIN</function>(0.5) equals 0.479426.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-COS"><function>COS</function></link>,
        <link linkend="gnumeric-COSH"><function>COSH</function></link>,
        <link linkend="gnumeric-SINH"><function>SINH</function></link>,
        <link linkend="gnumeric-TAN"><function>TAN</function></link>,
        <link linkend="gnumeric-TANH"><function>TANH</function></link>,
        <link linkend="gnumeric-RADIANS"><function>RADIANS</function></link>,
        <link linkend="gnumeric-DEGREES"><function>DEGREES</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-SINH">
      <refmeta>
        <refentrytitle>
          <function>SINH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>SINH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>SINH</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>SINH</function> function returns the hyperbolic sine of <parameter>x</parameter>, which is defined mathematically as</para>
        <para>	(exp(<parameter>x</parameter>) - exp(-<parameter>x</parameter>)) / 2.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>SINH</function>(0.5) equals 0.521095.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-SIN"><function>SIN</function></link>,
        <link linkend="gnumeric-COS"><function>COS</function></link>,
        <link linkend="gnumeric-COSH"><function>COSH</function></link>,
        <link linkend="gnumeric-TAN"><function>TAN</function></link>,
        <link linkend="gnumeric-TANH"><function>TANH</function></link>,
        <link linkend="gnumeric-DEGREES"><function>DEGREES</function></link>,
        <link linkend="gnumeric-RADIANS"><function>RADIANS</function></link>,
        <link linkend="gnumeric-EXP"><function>EXP</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-SQRT">
      <refmeta>
        <refentrytitle>
          <function>SQRT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>SQRT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>SQRT</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>SQRT</function> function returns the square root of <parameter>x</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>x</parameter> is negative, <function>SQRT</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>SQRT</function>(2) equals 1.4142136.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-POWER"><function>POWER</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-SQRTPI">
      <refmeta>
        <refentrytitle>
          <function>SQRTPI</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>SQRTPI</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>SQRTPI</function>(<parameter>number</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>SQRTPI</function> function returns the square root of a <parameter>number</parameter> multiplied by pi.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>SQRTPI</function>(2) equals 2.506628275.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-PI"><function>PI</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-SUM">
      <refmeta>
        <refentrytitle>
          <function>SUM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>SUM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>SUM</function>(<parameter>value1</parameter>,<parameter/> value2,<parameter/> ...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>SUM</function> computes the sum of all the values and cells referenced in the argument list.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11, 15, 17, 21, and 43.  Then</para>
        <para><function>SUM</function>(A1:A5) equals 107.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-AVERAGE"><function>AVERAGE</function></link>,
        <link linkend="gnumeric-COUNT"><function>COUNT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-SUMA">
      <refmeta>
        <refentrytitle>
          <function>SUMA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>SUMA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>SUMA</function>(<parameter>value1</parameter>,<parameter/> value2,<parameter/> ...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>SUMA</function> computes the sum of all the values and cells referenced in the argument list.  Numbers, text and logical values are included in the calculation too.  If the cell contains text or the argument evaluates to FALSE, it is counted as value zero (0). If the argument evaluates to TRUE, it is counted as one (1).</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11, 15, 17, 21, and 43.  Then</para>
        <para><function>SUMA</function>(A1:A5) equals 107.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-AVERAGE"><function>AVERAGE</function></link>,
        <link linkend="gnumeric-SUM"><function>SUM</function></link>,
        <link linkend="gnumeric-COUNT"><function>COUNT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-SUMIF">
      <refmeta>
        <refentrytitle>
          <function>SUMIF</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>SUMIF</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>SUMIF</function>(<parameter>range</parameter>,<parameter>criteria</parameter>[,<parameter>actual_range</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>SUMIF</function> function sums the values in the given <parameter>range</parameter> that meet the given <parameter>criteria</parameter>.  If <parameter>actual_range</parameter> is given, <function>SUMIF</function> sums the values in the <parameter>actual_range</parameter> whose corresponding components in <parameter>range</parameter> meet the given <parameter>criteria</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 23, 27, 28, 33, and 39.  Then</para>
        <para><function>SUMIF</function>(A1:A5,"&lt;=28") equals 78.</para>
        <para><function>SUMIF</function>(A1:A5,"&lt;28") equals 50.</para>
        <para>In addition, if the cells B1, B2, ..., B5 hold numbers 5, 3, 2, 6, and 7 then:</para>
        <para><function>SUMIF</function>(A1:A5,"&lt;=27",B1:B5) equals 8.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-COUNTIF"><function>COUNTIF</function></link>,
        <link linkend="gnumeric-SUM"><function>SUM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-SUMPRODUCT">
      <refmeta>
        <refentrytitle>
          <function>SUMPRODUCT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>SUMPRODUCT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>SUMPRODUCT</function>(<parameter/>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>Multiplies corresponding data entries in the given arrays or ranges, and then returns the sum of those products.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-SUM"><function>SUM</function></link>,
        <link linkend="gnumeric-PRODUCT"><function>PRODUCT</function></link>,
        <link linkend="gnumeric-G_PRODUCT"><function>G_PRODUCT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-SUMSQ">
      <refmeta>
        <refentrytitle>
          <function>SUMSQ</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>SUMSQ</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>SUMSQ</function>(<parameter>value1</parameter>,<parameter/> value2,<parameter/> ...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>SUMSQ</function> returns the sum of the squares of all the values and cells referenced in the argument list.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11, 15, 17, 21, and 43.  Then</para>
        <para><function>SUMSQ</function>(A1:A5) equals 2925.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-SUM"><function>SUM</function></link>,
        <link linkend="gnumeric-COUNT"><function>COUNT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-SUMX2MY2">
      <refmeta>
        <refentrytitle>
          <function>SUMX2MY2</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>SUMX2MY2</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>SUMX2MY2</function>(<parameter>array1</parameter>,<parameter>array2</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>SUMX2MY2</function> function returns the sum of the difference of squares of corresponding values in two arrays. <parameter>array1</parameter> is the first array or range of data points and <parameter>array2</parameter> is the second array or range of data points. The equation of <function>SUMX2MY2</function> is SUM (x^2-y^2).</para>
        <itemizedlist>
          <listitem>
            <para>Strings and empty cells are simply ignored.</para>
          </listitem>
          <listitem>
            <para>If <parameter>array1</parameter> and <parameter>array2</parameter> have different number of data points, <function>SUMX2MY2</function> returns #N/A error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11, 15, 17, 21, and 43 and the cells B1, B2, ..., B5 hold numbers 13, 22, 31, 33, and 39.  Then</para>
        <para><function>SUMX2MY2</function>(A1:A5,B1:B5) equals -1299.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-SUMSQ"><function>SUMSQ</function></link>,
        <link linkend="gnumeric-SUMX2PY2"><function>SUMX2PY2</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-SUMX2PY2">
      <refmeta>
        <refentrytitle>
          <function>SUMX2PY2</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>SUMX2PY2</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>SUMX2PY2</function>(<parameter>array1</parameter>,<parameter>array2</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>SUMX2PY2</function> function returns the sum of the sum of squares of corresponding values in two arrays. <parameter>array1</parameter> is the first array or range of data points and <parameter>array2</parameter> is the second array or range of data points. The equation of <function>SUMX2PY2</function> is SUM (x^2+y^2).</para>
        <itemizedlist>
          <listitem>
            <para>Strings and empty cells are simply ignored.</para>
          </listitem>
          <listitem>
            <para>If <parameter>array1</parameter> and <parameter>array2</parameter> have different number of data points, <function>SUMX2PY2</function> returns #N/A error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11, 15, 17, 21, and 43 and the cells B1, B2, ..., B5 hold numbers 13, 22, 31, 33, and 39.  Then</para>
        <para><function>SUMX2PY2</function>(A1:A5,B1:B5) equals 7149.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-SUMSQ"><function>SUMSQ</function></link>,
        <link linkend="gnumeric-SUMX2MY2"><function>SUMX2MY2</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-SUMXMY2">
      <refmeta>
        <refentrytitle>
          <function>SUMXMY2</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>SUMXMY2</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>SUMXMY2</function>(<parameter>array1</parameter>,<parameter>array2</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>SUMXMY2</function> function returns the sum of squares of differences of corresponding values in two arrays. <parameter>array1</parameter> is the first array or range of data points and <parameter>array2</parameter> is the second array or range of data points. The equation of <function>SUMXMY2</function> is SUM (x-y)^2.</para>
        <itemizedlist>
          <listitem>
            <para>Strings and empty cells are simply ignored.</para>
          </listitem>
          <listitem>
            <para>If <parameter>array1</parameter> and <parameter>array2</parameter> have different number of data points, <function>SUMXMY2</function> returns #N/A error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11, 15, 17, 21, and 43 and the cells B1, B2, ..., B5 hold numbers 13, 22, 31, 33, and 39.  Then</para>
        <para><function>SUMXMY2</function>(A1:A5,B1:B5) equals 409.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-SUMSQ"><function>SUMSQ</function></link>,
        <link linkend="gnumeric-SUMX2MY2"><function>SUMX2MY2</function></link>,
        <link linkend="gnumeric-SUMX2PY2"><function>SUMX2PY2</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-TAN">
      <refmeta>
        <refentrytitle>
          <function>TAN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>TAN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>TAN</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>TAN</function> function returns the tangent of <parameter>x</parameter>, where <parameter>x</parameter> is given in radians.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>TAN</function>(3) equals -0.1425465.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-TANH"><function>TANH</function></link>,
        <link linkend="gnumeric-COS"><function>COS</function></link>,
        <link linkend="gnumeric-COSH"><function>COSH</function></link>,
        <link linkend="gnumeric-SIN"><function>SIN</function></link>,
        <link linkend="gnumeric-SINH"><function>SINH</function></link>,
        <link linkend="gnumeric-DEGREES"><function>DEGREES</function></link>,
        <link linkend="gnumeric-RADIANS"><function>RADIANS</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-TANH">
      <refmeta>
        <refentrytitle>
          <function>TANH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>TANH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>TANH</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>TANH</function> function returns the hyperbolic tangent of <parameter>x</parameter>, which is defined mathematically as</para>
        <para>	sinh(<parameter>x</parameter>) / cosh(<parameter>x</parameter>).</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>TANH</function>(2) equals 0.96402758.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-TAN"><function>TAN</function></link>,
        <link linkend="gnumeric-SIN"><function>SIN</function></link>,
        <link linkend="gnumeric-SINH"><function>SINH</function></link>,
        <link linkend="gnumeric-COS"><function>COS</function></link>,
        <link linkend="gnumeric-COSH"><function>COSH</function></link>,
        <link linkend="gnumeric-DEGREES"><function>DEGREES</function></link>,
        <link linkend="gnumeric-RADIANS"><function>RADIANS</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-TRUNC">
      <refmeta>
        <refentrytitle>
          <function>TRUNC</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>TRUNC</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>TRUNC</function>(<parameter>number</parameter>[,<parameter>digits</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>TRUNC</function> function returns the value of <parameter>number</parameter> truncated to the number of digits specified.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>digits</parameter> is omitted or negative then <parameter>digits</parameter> defaults to zero.</para>
          </listitem>
          <listitem>
            <para>If <parameter>digits</parameter> is not an integer, it is truncated.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>TRUNC</function>(3.12) equals 3.</para>
        <para><function>TRUNC</function>(4.15,1) equals 4.1.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-INT"><function>INT</function></link>.
      </para>
      </refsect1>
    </refentry>
  </sect1>
  <sect1 id="CATEGORY_Number_Theory">
    <title>Number Theory</title>
    <refentry id="gnumeric-ISPRIME">
      <refmeta>
        <refentrytitle>
          <function>ISPRIME</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ISPRIME</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ISPRIME</function>(<parameter>i</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ISPRIME</function> function returns TRUE if <parameter>i</parameter> is prime and FALSE otherwise.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ITHPRIME"><function>ITHPRIME</function></link>,
        <link linkend="gnumeric-NT_D"><function>NT_D</function></link>,
        <link linkend="gnumeric-NT_SIGMA"><function>NT_SIGMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ITHPRIME">
      <refmeta>
        <refentrytitle>
          <function>ITHPRIME</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ITHPRIME</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ITHPRIME</function>(<parameter>i</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ITHPRIME</function> function returns the <parameter>ith</parameter> prime.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-NT_D"><function>NT_D</function></link>,
        <link linkend="gnumeric-NT_SIGMA"><function>NT_SIGMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-NT_D">
      <refmeta>
        <refentrytitle>
          <function>NT_D</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>NT_D</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>NT_D</function>(<parameter>n</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>NT_D</function> function calculates the number of divisors of <parameter>n</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ITHPRIME"><function>ITHPRIME</function></link>,
        <link linkend="gnumeric-NT_PHI"><function>NT_PHI</function></link>,
        <link linkend="gnumeric-NT_SIGMA"><function>NT_SIGMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-NT_MU">
      <refmeta>
        <refentrytitle>
          <function>NT_MU</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>NT_MU</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>NT_MU</function>(<parameter>n</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>NT_MU</function> function (Möbius mu function) returns</para>
        <para>0  if <parameter>n</parameter> is divisible by the square of a prime .</para>
        <para>Otherwise it returns:</para>
        <para>  -1 if <parameter>n</parameter> has an odd  number of different prime factors .</para>
        <para>   1  if <parameter>n</parameter> has an even number of different prime factors .</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>n</parameter> = 1 <function>NT_MU</function> returns 1.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-NT_D"><function>NT_D</function></link>,
        <link linkend="gnumeric-ITHPRIME"><function>ITHPRIME</function></link>,
        <link linkend="gnumeric-NT_PHI"><function>NT_PHI</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-NT_PHI">
      <refmeta>
        <refentrytitle>
          <function>NT_PHI</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>NT_PHI</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>NT_PHI</function>(<parameter>n</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>NT_PHI</function> function calculates the number of integers less than or equal to <parameter>n</parameter> that are relatively prime to <parameter>n</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-NT_D"><function>NT_D</function></link>,
        <link linkend="gnumeric-ITHPRIME"><function>ITHPRIME</function></link>,
        <link linkend="gnumeric-NT_SIGMA"><function>NT_SIGMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-NT_PI">
      <refmeta>
        <refentrytitle>
          <function>NT_PI</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>NT_PI</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>NT_PI</function>(<parameter>n</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>NT_PI</function> function returns the number of primes less than or equal to <parameter>n</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ITHPRIME"><function>ITHPRIME</function></link>,
        <link linkend="gnumeric-NT_PHI"><function>NT_PHI</function></link>,
        <link linkend="gnumeric-NT_D"><function>NT_D</function></link>,
        <link linkend="gnumeric-NT_SIGMA"><function>NT_SIGMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-NT_SIGMA">
      <refmeta>
        <refentrytitle>
          <function>NT_SIGMA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>NT_SIGMA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>NT_SIGMA</function>(<parameter>n</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>NT_SIGMA</function> function calculates the sum of the divisors of <parameter>n</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-NT_D"><function>NT_D</function></link>,
        <link linkend="gnumeric-ITHPRIME"><function>ITHPRIME</function></link>,
        <link linkend="gnumeric-NT_PHI"><function>NT_PHI</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-PFACTOR">
      <refmeta>
        <refentrytitle>
          <function>PFACTOR</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>PFACTOR</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>PFACTOR</function>(<parameter>n</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>PFACTOR</function> function returns the smallest prime factor of its argument.</para>
        <para>The argument must be at least 2, or else a #VALUE! error is returned.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-ITHPRIME"><function>ITHPRIME</function></link>.
      </para>
      </refsect1>
    </refentry>
  </sect1>
  <sect1 id="CATEGORY_Random_Numbers">
    <title>Random Numbers</title>
    <refentry id="gnumeric-RAND">
      <refmeta>
        <refentrytitle>
          <function>RAND</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RAND</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RAND</function>(<parameter/>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RAND</function> returns a random number between zero and one.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RAND</function>() returns a random number greater than zero but less than one.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RANDBETWEEN"><function>RANDBETWEEN</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDBERNOULLI">
      <refmeta>
        <refentrytitle>
          <function>RANDBERNOULLI</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDBERNOULLI</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDBERNOULLI</function>(<parameter>p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDBERNOULLI</function> returns a Bernoulli-distributed random number.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>p</parameter> &lt; 0 or <parameter>p</parameter> &gt; 1 <function>RANDBERNOULLI</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDBERNOULLI</function>(0.5).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>,
        <link linkend="gnumeric-RANDBETWEEN"><function>RANDBETWEEN</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDBETA">
      <refmeta>
        <refentrytitle>
          <function>RANDBETA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDBETA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDBETA</function>(<parameter>a</parameter>,<parameter>b</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDBETA</function> returns a Beta-distributed random number.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDBETA</function>(1,2).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>,
        <link linkend="gnumeric-RANDGAMMA"><function>RANDGAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDBETWEEN">
      <refmeta>
        <refentrytitle>
          <function>RANDBETWEEN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDBETWEEN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDBETWEEN</function>(<parameter>bottom</parameter>,<parameter>top</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDBETWEEN</function> function returns a random integer number between and including <parameter>bottom</parameter> and <parameter>top</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>bottom</parameter> is non-integer, it is rounded up.</para>
          </listitem>
          <listitem>
            <para>If <parameter>top</parameter> is non-integer, it is rounded down.</para>
          </listitem>
          <listitem>
            <para>If <parameter>bottom</parameter> &gt; <parameter>top</parameter>, <function>RANDBETWEEN</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDBETWEEN</function>(3,7).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>,
        <link linkend="gnumeric-RANDUNIFORM"><function>RANDUNIFORM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDBINOM">
      <refmeta>
        <refentrytitle>
          <function>RANDBINOM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDBINOM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDBINOM</function>(<parameter>p</parameter>,<parameter>trials</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDBINOM</function> returns a binomially-distributed random number.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>p</parameter> &lt; 0 or <parameter>p</parameter> &gt; 1 <function>RANDBINOM</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>trials</parameter> &lt; 0 <function>RANDBINOM</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDBINOM</function>(0.5,2).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>,
        <link linkend="gnumeric-RANDBETWEEN"><function>RANDBETWEEN</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDCAUCHY">
      <refmeta>
        <refentrytitle>
          <function>RANDCAUCHY</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDCAUCHY</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDCAUCHY</function>(<parameter>a</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDCAUCHY</function> returns a Cauchy-distributed random number with scale parameter a. The Cauchy distribution is also known as the Lorentz distribution.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>a</parameter> &lt; 0 <function>RANDCAUCHY</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDCAUCHY</function>(1).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDCHISQ">
      <refmeta>
        <refentrytitle>
          <function>RANDCHISQ</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDCHISQ</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDCHISQ</function>(<parameter>nu</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDCHISQ</function> returns a Chi-Square-distributed random number.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDCHISQ</function>(0.5).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>,
        <link linkend="gnumeric-RANDGAMMA"><function>RANDGAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDDISCRETE">
      <refmeta>
        <refentrytitle>
          <function>RANDDISCRETE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDDISCRETE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDDISCRETE</function>(<parameter>val_range</parameter>[,<parameter>prob_range</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDDISCRETE</function> returns one of the values in the <parameter>val_range</parameter>. The probabilities for each value are given in the <parameter>prob_range</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>prob_range</parameter> is omitted, the uniform discrete distribution is assumed.</para>
          </listitem>
          <listitem>
            <para>If the sum of all values in <parameter>prob_range</parameter> is other than one, <function>RANDDISCRETE</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>val_range</parameter> and <parameter>prob_range</parameter> are not the same size, <function>RANDDISCRETE</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>val_range</parameter> or <parameter>prob_range</parameter> is not a range, <function>RANDDISCRETE</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDDISCRETE</function>(A1:A6) returns one of the values in the range A1:A6.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RANDBETWEEN"><function>RANDBETWEEN</function></link>,
        <link linkend="gnumeric-RAND"><function>RAND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDEXP">
      <refmeta>
        <refentrytitle>
          <function>RANDEXP</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDEXP</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDEXP</function>(<parameter>b</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDEXP</function> returns a exponentially-distributed random number.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDEXP</function>(0.5).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>,
        <link linkend="gnumeric-RANDBETWEEN"><function>RANDBETWEEN</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDEXPPOW">
      <refmeta>
        <refentrytitle>
          <function>RANDEXPPOW</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDEXPPOW</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDEXPPOW</function>(<parameter>a</parameter>,<parameter>b</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDEXPPOW</function> returns a random variate from the exponential power distribution with scale parameter <parameter>a</parameter> and exponent <parameter>b</parameter>. The distribution is,</para>
        <para>	p(x) dx = {1 over 2 a Gamma(1+1/b)} exp(-|x/a|^b) dx, for x &gt;= 0.</para>
        <itemizedlist>
          <listitem>
            <para>For <parameter>b</parameter> = 1 this reduces to the Laplace distribution.</para>
          </listitem>
          <listitem>
            <para>For <parameter>b</parameter> = 2 it has the same form as a normal distribution with sigma = a/sqrt(2).</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDEXPPOW</function>(0.5,0.1).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDFDIST">
      <refmeta>
        <refentrytitle>
          <function>RANDFDIST</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDFDIST</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDFDIST</function>(<parameter>nu1</parameter>,<parameter>nu2</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDFDIST</function> returns a F-distributed random number.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDFDIST</function>(1,2).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>,
        <link linkend="gnumeric-RANDGAMMA"><function>RANDGAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDGAMMA">
      <refmeta>
        <refentrytitle>
          <function>RANDGAMMA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDGAMMA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDGAMMA</function>(<parameter>a</parameter>,<parameter>b</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDGAMMA</function> returns a Gamma-distributed random number.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>a</parameter> &lt;= 0 <function>RANDGAMMA</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDGAMMA</function>(1,2).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDGEOM">
      <refmeta>
        <refentrytitle>
          <function>RANDGEOM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDGEOM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDGEOM</function>(<parameter>p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDGEOM</function> returns a geometric-distributed random number. The number of independent trials with probability <parameter>p</parameter> until the first success. The probability distribution for geometric variates is,</para>
        <para>	p(k) =  p (1-p)^(k-1), for k &gt;= 1.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>p</parameter> &lt; 0 or <parameter>p</parameter> &gt; 1 <function>RANDGEOM</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDGEOM</function>(0.4).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDGUMBEL">
      <refmeta>
        <refentrytitle>
          <function>RANDGUMBEL</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDGUMBEL</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDGUMBEL</function>(<parameter>a</parameter>,<parameter>b</parameter>[,<parameter>type</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDGUMBEL</function> returns a Type I or Type II Gumbel-distributed random number. <parameter>type</parameter> is either 1 or 2 and specifies the type of the distribution (Type I or Type II).</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>type</parameter> is neither 1 nor 2, <function>RANDGUMBEL</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>type</parameter> is omitted, Type I is assumed.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDGUMBEL</function>(0.5,1,2).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDHYPERG">
      <refmeta>
        <refentrytitle>
          <function>RANDHYPERG</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDHYPERG</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDHYPERG</function>(<parameter>n1</parameter>,<parameter>n2</parameter>,<parameter>t</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDHYPERG</function> returns a hypergeometric-distributed random number. The probability distribution for hypergeometric random variates is,</para>
        <para>	p(k) =  C(n_1,k) C(n_2, t-k) / C(n_1 + n_2,k),</para>
        <para>where C(a,b) = a!/(b!(a-b)!).</para>
        <para>The domain of k is max(0,t-n_2), ..., max(t,n_1).</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDHYPERG</function>(21,1,9).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDLANDAU">
      <refmeta>
        <refentrytitle>
          <function>RANDLANDAU</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDLANDAU</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDLANDAU</function>(<parameter/>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDLANDAU</function> returns a random variate from the Landau distribution. The probability distribution for Landau random variates is defined analytically by the complex integral,</para>
        <para>	p(x) = (1/(2 pi i)) int_{c-i infty}^{c+i infty} ds exp(s log(s) + x s).</para>
        <para>For numerical purposes it is more convenient to use the following equivalent form of the integral,</para>
        <para>	p(x) = (1/pi) int_0^ infty dt exp(-t log(t) - x t) sin(pi t).</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDLANDAU</function>().</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDLAPLACE">
      <refmeta>
        <refentrytitle>
          <function>RANDLAPLACE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDLAPLACE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDLAPLACE</function>(<parameter>a</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDLAPLACE</function> returns a Laplace-distributed random number. Laplace distribution is also known as two-sided exponential probability distribution.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDLAPLACE</function>(1).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDLEVY">
      <refmeta>
        <refentrytitle>
          <function>RANDLEVY</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDLEVY</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDLEVY</function>(<parameter>c</parameter>,<parameter>alpha</parameter>[,<parameter>beta</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDLEVY</function> returns a Levy-distributed random number. If <parameter>beta</parameter> is omitted, it is assumed to be 0.</para>
        <itemizedlist>
          <listitem>
            <para>For <parameter>alpha</parameter> = 1, <parameter>beta</parameter>=0, we get the Lorentz distribution.</para>
          </listitem>
          <listitem>
            <para>For <parameter>alpha</parameter> = 2, <parameter>beta</parameter>=0, we get the normal distribution.</para>
          </listitem>
          <listitem>
            <para>If <parameter>alpha</parameter> &lt;= 0 or <parameter>alpha</parameter> &gt; 2, <function>RANDLEVY</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>beta</parameter> &lt; -1 or <parameter>beta</parameter> &gt; 1, <function>RANDLEVY</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDLEVY</function>(0.5,0.1,1).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDLOG">
      <refmeta>
        <refentrytitle>
          <function>RANDLOG</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDLOG</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDLOG</function>(<parameter>p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDLOG</function> returns a logarithmic-distributed random number.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>p</parameter> &lt; 0 or <parameter>p</parameter> &gt; 1 <function>RANDLOG</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDLOG</function>(0.72).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDLOGISTIC">
      <refmeta>
        <refentrytitle>
          <function>RANDLOGISTIC</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDLOGISTIC</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDLOGISTIC</function>(<parameter>a</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDLOGISTIC</function> returns a logistic-distributed random number.  The distribution function is,</para>
        <para>	p(x) dx = { exp(-x/a) over a (1 + exp(-x/a))^2 } dx for -infty &lt; x &lt; +infty.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDLOGISTIC</function>(1).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDLOGNORM">
      <refmeta>
        <refentrytitle>
          <function>RANDLOGNORM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDLOGNORM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDLOGNORM</function>(<parameter>zeta</parameter>,<parameter>sigma</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDLOGNORM</function> returns a lognormal-distributed random number.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDLOGNORM</function>(1,2).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDNEGBINOM">
      <refmeta>
        <refentrytitle>
          <function>RANDNEGBINOM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDNEGBINOM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDNEGBINOM</function>(<parameter>p</parameter>,<parameter>failures</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDNEGBINOM</function> returns a negative binomially-distributed random number.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>p</parameter> &lt; 0 or <parameter>p</parameter> &gt; 1, <function>RANDNEGBINOM</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>failures</parameter> &lt; 1, <function>RANDNEGBINOM</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDNEGBINOM</function>(0.5,2).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>,
        <link linkend="gnumeric-RANDBETWEEN"><function>RANDBETWEEN</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDNORM">
      <refmeta>
        <refentrytitle>
          <function>RANDNORM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDNORM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDNORM</function>(<parameter>mean</parameter>,<parameter>stdev</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDNORM</function> returns a normal-distributed random number.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>stdev</parameter> &lt; 0 <function>RANDNORM</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDNORM</function>(0,1).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDNORMTAIL">
      <refmeta>
        <refentrytitle>
          <function>RANDNORMTAIL</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDNORMTAIL</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDNORMTAIL</function>(<parameter>a</parameter>,<parameter>sigma</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDNORMTAIL</function> returns a random variates from the upper tail of a normal distribution with standard deviation <parameter>sigma</parameter>. The values returned are larger than the lower limit <parameter>a</parameter>, which must be positive. The method is based on Marsaglia's famous rectangle-wedge-tail algorithm (Ann Math Stat 32, 894-899 (1961)), with this aspect explained in Knuth, v2, 3rd ed, p139, 586 (exercise 11).</para>
        <para>The probability distribution for normal tail random variates is,</para>
        <para>	p(x) dx = {1 over N(a;sigma)} exp (- x^2/(2 sigma^2)) dx,</para>
        <para>for x &gt; a where N(a;sigma) is the normalization constant, N(a;sigma) = (1/2) erfc(a / sqrt(2 sigma^2)).</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDNORMTAIL</function>(0.5,0.1).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDPARETO">
      <refmeta>
        <refentrytitle>
          <function>RANDPARETO</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDPARETO</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDPARETO</function>(<parameter>a</parameter>,<parameter>b</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDPARETO</function> returns a Pareto-distributed random number.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDPARETO</function>(1,2).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDPOISSON">
      <refmeta>
        <refentrytitle>
          <function>RANDPOISSON</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDPOISSON</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDPOISSON</function>(<parameter>lambda</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDPOISSON</function> returns a Poisson-distributed random number.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>lambda</parameter> &lt; 0 <function>RANDPOISSON</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDPOISSON</function>(3).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>,
        <link linkend="gnumeric-RANDBETWEEN"><function>RANDBETWEEN</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDRAYLEIGH">
      <refmeta>
        <refentrytitle>
          <function>RANDRAYLEIGH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDRAYLEIGH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDRAYLEIGH</function>(<parameter>sigma</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDRAYLEIGH</function> returns a Rayleigh-distributed random number.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDRAYLEIGH</function>(1).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDRAYLEIGHTAIL">
      <refmeta>
        <refentrytitle>
          <function>RANDRAYLEIGHTAIL</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDRAYLEIGHTAIL</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDRAYLEIGHTAIL</function>(<parameter>a</parameter>,<parameter>sigma</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDRAYLEIGHTAIL</function> returns  a random variate from the tail of the Rayleigh distribution with scale parameter sigma and a lower limit of a. The distribution is,</para>
        <para>	p(x) dx = {x over sigma^2} exp ((a^2 - x^2) /(2 sigma^2)) dx,</para>
        <para>for x &gt; a.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDRAYLEIGHTAIL</function>(0.3,1).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>,
        <link linkend="gnumeric-RANDRAYLEIGH"><function>RANDRAYLEIGH</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDTDIST">
      <refmeta>
        <refentrytitle>
          <function>RANDTDIST</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDTDIST</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDTDIST</function>(<parameter>nu</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDTDIST</function> returns a T-distributed random number.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDTDIST</function>(0.5).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDUNIFORM">
      <refmeta>
        <refentrytitle>
          <function>RANDUNIFORM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDUNIFORM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDUNIFORM</function>(<parameter>a</parameter>,<parameter>b</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDUNIFORM</function> returns a random variate from the uniform (flat) distribution from a to b. The distribution is,</para>
        <para>	p(x) dx = {1 over (b-a)} dx : for a &lt;= x &lt; b.</para>
        <para>p(x) dx = 0 : for x &lt; a or b &lt;= x.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>a</parameter> &gt; <parameter>b</parameter> <function>RANDUNIFORM</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDUNIFORM</function>(1.4,4.2) returns a random number greater than or equal to 1.4 but less than 4.2.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RANDBETWEEN"><function>RANDBETWEEN</function></link>,
        <link linkend="gnumeric-RAND"><function>RAND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANDWEIBULL">
      <refmeta>
        <refentrytitle>
          <function>RANDWEIBULL</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANDWEIBULL</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANDWEIBULL</function>(<parameter>a</parameter>,<parameter>b</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANDWEIBULL</function> returns a Weibull-distributed random number.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RANDWEIBULL</function>(1,2).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RAND"><function>RAND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-SIMTABLE">
      <refmeta>
        <refentrytitle>
          <function>SIMTABLE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>SIMTABLE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>SIMTABLE</function>(<parameter>d1</parameter>,<parameter/> d2,<parameter/> ...,<parameter/> dN)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>SIMTABLE</function> returns one of the values in the given argument list depending on the round number of the simulation tool. When the simulation tool is not activated, <function>SIMTABLE</function> returns <parameter>d1</parameter>.</para>
        <para>With the simulation tool and the <function>SIMTABLE</function> function you can test given decision variables. Each <function>SIMTABLE</function> function contains the possible values of a simulation variable. In most valid simulation models you should have the same number of values <parameter>dN</parameter> for all decision variables.  If the simulation is run more rounds than there are values defined, <function>SIMTABLE</function> returns #N/A! error (e.g. if A1 contains `=<function>SIMTABLE</function>(1)' and A2 `=<function>SIMTABLE</function>(1,2)', A1 yields #N/A! error on the second round).</para>
        <para>The successive use of the simulation tool also requires that you give to the tool at least one input variable having RAND() or any other RAND&lt;distribution name&gt;() function in it. On each round, the simulation tool iterates for the given number of rounds over all the input variables to reevaluate them. On each iteration, the values of the output variables are stored, and when the round is completed, descriptive statistical information is created according to the values.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>SIMTABLE</function>(TRUE,FALSE) returns TRUE on the first simulation round and FALSE on the second round.</para>
        <para><function>SIMTABLE</function>(223,225,227,229) returns 227 on the simulation round #3.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
  </sect1>
  <sect1 id="CATEGORY_Statistics">
    <title>Statistics</title>
    <refentry id="gnumeric-AVEDEV">
      <refmeta>
        <refentrytitle>
          <function>AVEDEV</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>AVEDEV</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>AVEDEV</function>(<parameter>n1</parameter>,<parameter/> n2,<parameter/> ...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>AVEDEV</function> returns the average of the absolute deviations of a data set from their mean.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1.  Then</para>
        <para><function>AVEDEV</function>(A1:A5) equals 7.84.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-STDEV"><function>STDEV</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-AVERAGE">
      <refmeta>
        <refentrytitle>
          <function>AVERAGE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>AVERAGE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>AVERAGE</function>(<parameter>value1</parameter>,<parameter/> value2,<parameter/>...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>AVERAGE</function> computes the average of all the values and cells referenced in the argument list.  This is equivalent to the sum of the arguments divided by the count of the arguments.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1.  Then</para>
        <para><function>AVERAGE</function>(A1:A5) equals 23.2.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-SUM"><function>SUM</function></link>,
        <link linkend="gnumeric-COUNT"><function>COUNT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-AVERAGEA">
      <refmeta>
        <refentrytitle>
          <function>AVERAGEA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>AVERAGEA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>AVERAGEA</function>(<parameter>number1</parameter>,<parameter>number2</parameter>,<parameter/>...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>AVERAGEA</function> returns the average of the given arguments.  Numbers, text and logical values are included in the calculation too. If the cell contains text or the argument evaluates to FALSE, it is counted as value zero (0).  If the argument evaluates to TRUE, it is counted as one (1).  Note that empty cells are not counted.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers and strings 11.4, 17.3, "missing", 25.9, and 40.1.  Then</para>
        <para><function>AVERAGEA</function>(A1:A5) equals 18.94.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-AVERAGE"><function>AVERAGE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-BERNOULLI">
      <refmeta>
        <refentrytitle>
          <function>BERNOULLI</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>BERNOULLI</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>BERNOULLI</function>(<parameter>k</parameter>,<parameter>p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>BERNOULLI</function> returns the probability p(k) of obtaining <parameter>k</parameter> from a Bernoulli distribution with probability parameter <parameter>p</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>k</parameter> != 0 and <parameter>k</parameter> != 1 <function>BERNOULLI</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>p</parameter> &lt; 0 or <parameter>p</parameter> &gt; 1 <function>BERNOULLI</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>BERNOULLI</function>(0,0.5).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RANDBERNOULLI"><function>RANDBERNOULLI</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-BETADIST">
      <refmeta>
        <refentrytitle>
          <function>BETADIST</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>BETADIST</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>BETADIST</function>(<parameter>x</parameter>,<parameter>alpha</parameter>,<parameter>beta</parameter>[,<parameter>a</parameter>,<parameter>b</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>BETADIST</function> function returns the cumulative beta distribution. <parameter>a</parameter> is the optional lower bound of <parameter>x</parameter> and <parameter>b</parameter> is the optional upper bound of <parameter>x</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>a</parameter> is not given, <function>BETADIST</function> uses 0.</para>
          </listitem>
          <listitem>
            <para>If <parameter>b</parameter> is not given, <function>BETADIST</function> uses 1.</para>
          </listitem>
          <listitem>
            <para>If <parameter>x</parameter> &lt; <parameter>a</parameter> or <parameter>x</parameter> &gt; <parameter>b</parameter> <function>BETADIST</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>alpha</parameter> &lt;= 0 or <parameter>beta</parameter> &lt;= 0, <function>BETADIST</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>a</parameter> &gt;= <parameter>b</parameter> <function>BETADIST</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>BETADIST</function>(0.12,2,3) equals 0.07319808.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-BETAINV"><function>BETAINV</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-BETAINV">
      <refmeta>
        <refentrytitle>
          <function>BETAINV</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>BETAINV</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>BETAINV</function>(<parameter>p</parameter>,<parameter>alpha</parameter>,<parameter>beta</parameter>[,<parameter>a</parameter>,<parameter>b</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>BETAINV</function> function returns the inverse of cumulative beta distribution.  <parameter>a</parameter> is the optional lower bound of <parameter>x</parameter> and <parameter>b</parameter> is the optional upper bound of <parameter>x</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>a</parameter> is not given, <function>BETAINV</function> uses 0.</para>
          </listitem>
          <listitem>
            <para>If <parameter>b</parameter> is not given, <function>BETAINV</function> uses 1.</para>
          </listitem>
          <listitem>
            <para>If <parameter>p</parameter> &lt; 0 or <parameter>p</parameter> &gt; 1 <function>BETAINV</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>alpha</parameter> &lt;= 0 or <parameter>beta</parameter> &lt;= 0, <function>BETAINV</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>a</parameter> &gt;= <parameter>b</parameter> <function>BETAINV</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>BETAINV</function>(0.45,1.6,1) equals 0.607096629.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-BETADIST"><function>BETADIST</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-BINOMDIST">
      <refmeta>
        <refentrytitle>
          <function>BINOMDIST</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>BINOMDIST</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>BINOMDIST</function>(<parameter>n</parameter>,<parameter>trials</parameter>,<parameter>p</parameter>,<parameter>cumulative</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>BINOMDIST</function> function returns the binomial distribution. <parameter>n</parameter> is the number of successes, <parameter>trials</parameter> is the total number of independent trials, <parameter>p</parameter> is the probability of success in trials, and <parameter>cumulative</parameter> describes whether to return the sum of the binomial function from 0 to <parameter>n</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>n</parameter> or <parameter>trials</parameter> are non-integer they are truncated.</para>
          </listitem>
          <listitem>
            <para>If <parameter>n</parameter> &lt; 0 or <parameter>trials</parameter> &lt; 0 <function>BINOMDIST</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>n</parameter> &gt; <parameter>trials</parameter> <function>BINOMDIST</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>p</parameter> &lt; 0 or <parameter>p</parameter> &gt; 1 <function>BINOMDIST</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>BINOMDIST</function>(3,5,0.8,0) equals 0.2048.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-POISSON"><function>POISSON</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-CAUCHY">
      <refmeta>
        <refentrytitle>
          <function>CAUCHY</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>CAUCHY</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>CAUCHY</function>(<parameter>x</parameter>,<parameter>a</parameter>,<parameter>cum</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>CAUCHY</function> returns the Cauchy distribution with scale parameter <parameter>a</parameter>. If <parameter>cum</parameter> is TRUE, <function>CAUCHY</function> returns the cumulative distribution.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>a</parameter> &lt; 0 <function>CAUCHY</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>cum</parameter> != TRUE and <parameter>cum</parameter> != FALSE <function>CAUCHY</function> returns #VALUE! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>CAUCHY</function>(0.43,1,TRUE) returns 0.370735.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RANDCAUCHY"><function>RANDCAUCHY</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-CHIDIST">
      <refmeta>
        <refentrytitle>
          <function>CHIDIST</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>CHIDIST</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>CHIDIST</function>(<parameter>x</parameter>,<parameter>dof</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>CHIDIST</function> function returns the one-tailed probability of the chi-squared distribution. <parameter>dof</parameter> is the number of degrees of freedom.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>dof</parameter> is non-integer it is truncated.</para>
          </listitem>
          <listitem>
            <para>If <parameter>dof</parameter> &lt; 1 <function>CHIDIST</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>CHIDIST</function>(5.3,2) equals 0.070651213.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-CHIINV"><function>CHIINV</function></link>,
        <link linkend="gnumeric-CHITEST"><function>CHITEST</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-CHIINV">
      <refmeta>
        <refentrytitle>
          <function>CHIINV</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>CHIINV</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>CHIINV</function>(<parameter>p</parameter>,<parameter>dof</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>CHIINV</function> function returns the inverse of the one-tailed probability of the chi-squared distribution.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>p</parameter> &lt; 0 or <parameter>p</parameter> &gt; 1 or <parameter>dof</parameter> &lt; 1 <function>CHIINV</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>CHIINV</function>(0.98,7) equals 1.564293004.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-CHIDIST"><function>CHIDIST</function></link>,
        <link linkend="gnumeric-CHITEST"><function>CHITEST</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-CHITEST">
      <refmeta>
        <refentrytitle>
          <function>CHITEST</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>CHITEST</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>CHITEST</function>(<parameter>actual_range</parameter>,<parameter>theoretical_range</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>CHITEST</function> function returns the test for independence of chi-squared distribution.</para>
        <para><parameter>actual_range</parameter> is a range that contains the observed data points. <parameter>theoretical_range</parameter> is a range that contains the expected values of the data points.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-CHIDIST"><function>CHIDIST</function></link>,
        <link linkend="gnumeric-CHIINV"><function>CHIINV</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-CONFIDENCE">
      <refmeta>
        <refentrytitle>
          <function>CONFIDENCE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>CONFIDENCE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>CONFIDENCE</function>(<parameter>x</parameter>,<parameter>stddev</parameter>,<parameter>size</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>CONFIDENCE</function> function returns the confidence interval for a mean. <parameter>x</parameter> is the significance level, <parameter>stddev</parameter> is the population standard deviation, and <parameter>size</parameter> is the size of the sample.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>size</parameter> is non-integer it is truncated.</para>
          </listitem>
          <listitem>
            <para>If <parameter>size</parameter> &lt; 0 <function>CONFIDENCE</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>size</parameter> is 0 <function>CONFIDENCE</function> returns #DIV/0! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>CONFIDENCE</function>(0.05,1,33) equals 0.341185936.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-AVERAGE"><function>AVERAGE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-CORREL">
      <refmeta>
        <refentrytitle>
          <function>CORREL</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>CORREL</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>CORREL</function>(<parameter>array1</parameter>,<parameter>array2</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>CORREL</function> returns the correlation coefficient of two data sets.</para>
        <itemizedlist>
          <listitem>
            <para>Strings and empty cells are simply ignored.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1, and the cells B1, B2, ... B5 23.2, 25.8, 29.9, 33.5, and 42.7.  Then</para>
        <para><function>CORREL</function>(A1:A5,B1:B5) equals 0.996124788.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-COVAR"><function>COVAR</function></link>,
        <link linkend="gnumeric-FISHER"><function>FISHER</function></link>,
        <link linkend="gnumeric-FISHERINV"><function>FISHERINV</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-COUNT">
      <refmeta>
        <refentrytitle>
          <function>COUNT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>COUNT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>COUNT</function>(<parameter>b1</parameter>,<parameter/> b2,<parameter/> ...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>COUNT</function> returns the total number of integer or floating point arguments passed.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1.  Then</para>
        <para><function>COUNT</function>(A1:A5) equals 5.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-AVERAGE"><function>AVERAGE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-COUNTA">
      <refmeta>
        <refentrytitle>
          <function>COUNTA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>COUNTA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>COUNTA</function>(<parameter>b1</parameter>,<parameter/> b2,<parameter/> ...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>COUNTA</function> returns the number of arguments passed not including empty cells.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers and strings 11.4, "missing", "missing", 25.9, and 40.1.  Then</para>
        <para><function>COUNTA</function>(A1:A5) equals 5.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-AVERAGE"><function>AVERAGE</function></link>,
        <link linkend="gnumeric-COUNT"><function>COUNT</function></link>,
        <link linkend="gnumeric-DCOUNT"><function>DCOUNT</function></link>,
        <link linkend="gnumeric-DCOUNTA"><function>DCOUNTA</function></link>,
        <link linkend="gnumeric-PRODUCT"><function>PRODUCT</function></link>,
        <link linkend="gnumeric-SUM"><function>SUM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-COVAR">
      <refmeta>
        <refentrytitle>
          <function>COVAR</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>COVAR</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>COVAR</function>(<parameter>array1</parameter>,<parameter>array2</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>COVAR</function> returns the covariance of two data sets.</para>
        <itemizedlist>
          <listitem>
            <para>Strings and empty cells are simply ignored.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1, and the cells B1, B2, ... B5 23.2, 25.8, 29.9, 33.5, and 42.7.  Then</para>
        <para><function>COVAR</function>(A1:A5,B1:B5) equals 65.858.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-CORREL"><function>CORREL</function></link>,
        <link linkend="gnumeric-FISHER"><function>FISHER</function></link>,
        <link linkend="gnumeric-FISHERINV"><function>FISHERINV</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-CRITBINOM">
      <refmeta>
        <refentrytitle>
          <function>CRITBINOM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>CRITBINOM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>CRITBINOM</function>(<parameter>trials</parameter>,<parameter>p</parameter>,<parameter>alpha</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>CRITBINOM</function> function returns the smallest value for which the cumulative is greater than or equal to a given value. <parameter>n</parameter> is the number of trials, <parameter>p</parameter> is the probability of success in trials, and <parameter>alpha</parameter> is the criterion value.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>trials</parameter> is a non-integer it is truncated.</para>
          </listitem>
          <listitem>
            <para>If <parameter>trials</parameter> &lt; 0 <function>CRITBINOM</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>p</parameter> &lt; 0 or <parameter>p</parameter> &gt; 1 <function>CRITBINOM</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>alpha</parameter> &lt; 0 or <parameter>alpha</parameter> &gt; 1 <function>CRITBINOM</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>CRITBINOM</function>(10,0.5,0.75) equals 6.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-BINOMDIST"><function>BINOMDIST</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-CRONBACH">
      <refmeta>
        <refentrytitle>
          <function>CRONBACH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>CRONBACH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>CRONBACH</function>(<parameter>ref1</parameter>,<parameter>ref2</parameter>,<parameter/>...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>CRONBACH</function> returns Cronbach's alpha for the given cases.</para>
        <para><parameter>ref1</parameter> is a data set, <parameter>ref2</parameter> the second data set, etc..</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DEVSQ">
      <refmeta>
        <refentrytitle>
          <function>DEVSQ</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DEVSQ</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DEVSQ</function>(<parameter>n1</parameter>,<parameter/> n2,<parameter/> ...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DEVSQ</function> returns the sum of squares of deviations of a data set from the sample mean.</para>
        <itemizedlist>
          <listitem>
            <para>Strings and empty cells are simply ignored.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1.  Then</para>
        <para><function>DEVSQ</function>(A1:A5) equals 470.56.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-STDEV"><function>STDEV</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-EXPONDIST">
      <refmeta>
        <refentrytitle>
          <function>EXPONDIST</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>EXPONDIST</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>EXPONDIST</function>(<parameter>x</parameter>,<parameter>y</parameter>,<parameter>cumulative</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>EXPONDIST</function> function returns the exponential distribution. If the <parameter>cumulative</parameter> boolean is false it will return:</para>
        <para><parameter>y</parameter> * exp (-<parameter>y</parameter>*<parameter>x</parameter>),</para>
        <para>otherwise it will return</para>
        <para>	1 - exp (-<parameter>y</parameter>*<parameter>x</parameter>).</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>x</parameter> &lt; 0 or <parameter>y</parameter> &lt;= 0 this will return an error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>EXPONDIST</function>(2,4,0) equals 0.001341851.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-POISSON"><function>POISSON</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-EXPPOWDIST">
      <refmeta>
        <refentrytitle>
          <function>EXPPOWDIST</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>EXPPOWDIST</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>EXPPOWDIST</function>(<parameter>x</parameter>,<parameter>a</parameter>,<parameter>b</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>EXPPOWDIST</function> returns the probability density p(x) at <parameter>x</parameter> for Exponential Power distribution with scale parameter <parameter>a</parameter> and exponent <parameter>b</parameter>.</para>
        <para>This distribution has been recommended for lifetime analysis when a U-shaped hazard function is desired. This corresponds to rapid failure once the product starts to wear out after a period of steady or even improving reliability.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>EXPPOWDIST</function>(0.4,1,2).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RANDEXPPOW"><function>RANDEXPPOW</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-FDIST">
      <refmeta>
        <refentrytitle>
          <function>FDIST</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>FDIST</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>FDIST</function>(<parameter>x</parameter>,<parameter>dof1</parameter>,<parameter>dof2</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>FDIST</function> function returns the F probability distribution. <parameter>dof1</parameter> is the numerator degrees of freedom and <parameter>dof2</parameter> is the denominator degrees of freedom.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>x</parameter> &lt; 0 <function>FDIST</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>dof1</parameter> &lt; 1 or <parameter>dof2</parameter> &lt; 1, <function>FDIST</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>FDIST</function>(2,5,5) equals 0.232511319.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-FINV"><function>FINV</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-FINV">
      <refmeta>
        <refentrytitle>
          <function>FINV</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>FINV</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>FINV</function>(<parameter>p</parameter>,<parameter>dof1</parameter>,<parameter>dof2</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>FINV</function> function returns the inverse of the F probability distribution.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>p</parameter> &lt; 0 or <parameter>p</parameter> &gt; 1 <function>FINV</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>dof1</parameter> &lt; 1 or <parameter>dof2</parameter> &lt; 1 <function>FINV</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>FINV</function>(0.2,2,4) equals 2.472135955.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-FDIST"><function>FDIST</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-FISHER">
      <refmeta>
        <refentrytitle>
          <function>FISHER</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>FISHER</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>FISHER</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>FISHER</function> function returns the Fisher transformation at <parameter>x</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>x</parameter> is not a number, <function>FISHER</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>x</parameter> &lt;= -1 or <parameter>x</parameter> &gt;= 1, <function>FISHER</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>FISHER</function>(0.332) equals 0.345074339.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-SKEW"><function>SKEW</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-FISHERINV">
      <refmeta>
        <refentrytitle>
          <function>FISHERINV</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>FISHERINV</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>FISHERINV</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>FISHERINV</function> function returns the inverse of the Fisher transformation at <parameter>x</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>x</parameter> is non-number <function>FISHERINV</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>FISHERINV</function>(2) equals 0.96402758.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-FISHER"><function>FISHER</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-FORECAST">
      <refmeta>
        <refentrytitle>
          <function>FORECAST</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>FORECAST</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>FORECAST</function>(<parameter>x</parameter>,<parameter>known_y</parameter>'s,<parameter>known_x</parameter>'s)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>FORECAST</function> function estimates a future value according to existing values using simple linear regression.  The estimated future value is a y-value for a given x-value (<parameter>x</parameter>).</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>known_x</parameter> or <parameter>known_y</parameter> contains no data entries or different number of data entries, <function>FORECAST</function> returns #N/A error.</para>
          </listitem>
          <listitem>
            <para>If the variance of the <parameter>known_x</parameter> is zero, <function>FORECAST</function> returns #DIV/0 error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1, and the cells B1, B2, ... B5 23.2, 25.8, 29.9, 33.5, and 42.7.  Then</para>
        <para><function>FORECAST</function>(7,A1:A5,B1:B5) equals -10.859397661.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-INTERCEPT"><function>INTERCEPT</function></link>,
        <link linkend="gnumeric-TREND"><function>TREND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-FREQUENCY">
      <refmeta>
        <refentrytitle>
          <function>FREQUENCY</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>FREQUENCY</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>FREQUENCY</function>(<parameter>data_array</parameter>,<parameter>bins_array</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>FREQUENCY</function> function counts how often given values occur within a range of values.  The results are given as an array.</para>
        <para><parameter>data_array</parameter> is a data array for which you want to count the frequencies.  <parameter>bin_array</parameter> is an array containing the intervals into which you want to group the values in data_array.  If the <parameter>bin_array</parameter> is empty, <function>FREQUENCY</function> returns the number of data points in <parameter>data_array</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-FTEST">
      <refmeta>
        <refentrytitle>
          <function>FTEST</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>FTEST</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>FTEST</function>(<parameter>array1</parameter>,<parameter>array2</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>FTEST</function> function returns the two-tailed probability that the variances in the given two data sets are not significantly different.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1, and the cells B1, B2, ... B5 23.2, 25.8, 29.9, 33.5, and 42.7.  Then</para>
        <para><function>FTEST</function>(A1:A5,B1:B5) equals 0.510815017.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-FDIST"><function>FDIST</function></link>,
        <link linkend="gnumeric-FINV"><function>FINV</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-GAMMADIST">
      <refmeta>
        <refentrytitle>
          <function>GAMMADIST</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>GAMMADIST</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>GAMMADIST</function>(<parameter>x</parameter>,<parameter>alpha</parameter>,<parameter>beta</parameter>,<parameter>cum</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>GAMMADIST</function> function returns the gamma distribution. If <parameter>cum</parameter> is TRUE, <function>GAMMADIST</function> returns the incomplete gamma function, otherwise it returns the probability mass function.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>x</parameter> &lt; 0 <function>GAMMADIST</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>alpha</parameter> &lt;= 0 or <parameter>beta</parameter> &lt;= 0, <function>GAMMADIST</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>GAMMADIST</function>(1,2,3,0) equals 0.07961459.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-GAMMAINV"><function>GAMMAINV</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-GAMMAINV">
      <refmeta>
        <refentrytitle>
          <function>GAMMAINV</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>GAMMAINV</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>GAMMAINV</function>(<parameter>p</parameter>,<parameter>alpha</parameter>,<parameter>beta</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>GAMMAINV</function> function returns the inverse of the cumulative gamma distribution.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>p</parameter> &lt; 0 or <parameter>p</parameter> &gt; 1 <function>GAMMAINV</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>alpha</parameter> &lt;= 0 or <parameter>beta</parameter> &lt;= 0 <function>GAMMAINV</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>GAMMAINV</function>(0.34,2,4) equals 4.829093908.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-GAMMADIST"><function>GAMMADIST</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-GAMMALN">
      <refmeta>
        <refentrytitle>
          <function>GAMMALN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>GAMMALN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>GAMMALN</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>GAMMALN</function> function returns the natural logarithm of the gamma function.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>x</parameter> is non-number then <function>GAMMALN</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>x</parameter> &lt;= 0 then <function>GAMMALN</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>GAMMALN</function>(23) equals 48.471181352.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-POISSON"><function>POISSON</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-GEOMDIST">
      <refmeta>
        <refentrytitle>
          <function>GEOMDIST</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>GEOMDIST</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>GEOMDIST</function>(<parameter>k</parameter>,<parameter>p</parameter>,<parameter>cum</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>GEOMDIST</function> returns the probability p(k) of obtaining <parameter>k</parameter> from a geometric distribution with probability parameter <parameter>p</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>k</parameter> &lt; 0 <function>GEOMDIST</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>p</parameter> &lt; 0 or <parameter>p</parameter> &gt; 1 <function>GEOMDIST</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>cum</parameter> != TRUE and <parameter>cum</parameter> != FALSE <function>GEOMDIST</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>GEOMDIST</function>(2,10.4,TRUE).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RANDGEOM"><function>RANDGEOM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-GEOMEAN">
      <refmeta>
        <refentrytitle>
          <function>GEOMEAN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>GEOMEAN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>GEOMEAN</function>(<parameter>b1</parameter>,<parameter/> b2,<parameter/> ...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>GEOMEAN</function> returns the geometric mean of the given arguments. This is equal to the Nth root of the product of the terms.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1.  Then</para>
        <para><function>GEOMEAN</function>(A1:A5) equals 21.279182482.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-AVERAGE"><function>AVERAGE</function></link>,
        <link linkend="gnumeric-HARMEAN"><function>HARMEAN</function></link>,
        <link linkend="gnumeric-MEDIAN"><function>MEDIAN</function></link>,
        <link linkend="gnumeric-MODE"><function>MODE</function></link>,
        <link linkend="gnumeric-TRIMMEAN"><function>TRIMMEAN</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-GROWTH">
      <refmeta>
        <refentrytitle>
          <function>GROWTH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>GROWTH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>GROWTH</function>(<parameter>known_y</parameter>'s[,<parameter>known_x</parameter>'s,<parameter>new_x</parameter>'s,<parameter>const</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>GROWTH</function> function applies the ``least squares'' method to fit an exponential curve to your data and predicts the exponential growth by using this curve.</para>
        <para><function>GROWTH</function> returns an array having one column and a row for each data point in <parameter>new_x</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>known_x</parameter>'s is omitted, an array {1, 2, 3, ...} is used.</para>
          </listitem>
          <listitem>
            <para>If <parameter>new_x</parameter>'s is omitted, it is assumed to be the same as <parameter>known_x</parameter>'s.</para>
          </listitem>
          <listitem>
            <para>If <parameter>known_y</parameter>'s and <parameter>known_x</parameter>'s have unequal number of data points, <function>GROWTH</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>const</parameter> is FALSE, the line will be forced to go through the origin, i.e., b will be zero. The default is TRUE.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-LOGEST"><function>LOGEST</function></link>,
        <link linkend="gnumeric-GROWTH"><function>GROWTH</function></link>,
        <link linkend="gnumeric-TREND"><function>TREND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-HARMEAN">
      <refmeta>
        <refentrytitle>
          <function>HARMEAN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>HARMEAN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>HARMEAN</function>(<parameter>b1</parameter>,<parameter/> b2,<parameter/> ...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>HARMEAN</function> returns the harmonic mean of the N data points (that is, N divided by the sum of the inverses of the data points).</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1.  Then</para>
        <para><function>HARMEAN</function>(A1:A5) equals 19.529814427.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-AVERAGE"><function>AVERAGE</function></link>,
        <link linkend="gnumeric-GEOMEAN"><function>GEOMEAN</function></link>,
        <link linkend="gnumeric-MEDIAN"><function>MEDIAN</function></link>,
        <link linkend="gnumeric-MODE"><function>MODE</function></link>,
        <link linkend="gnumeric-TRIMMEAN"><function>TRIMMEAN</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-HYPGEOMDIST">
      <refmeta>
        <refentrytitle>
          <function>HYPGEOMDIST</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>HYPGEOMDIST</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>HYPGEOMDIST</function>(<parameter>x</parameter>,<parameter>n</parameter>,<parameter>M</parameter>,<parameter>N</parameter>[,<parameter>cumulative</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>HYPGEOMDIST</function> function returns the hypergeometric distribution. <parameter>x</parameter> is the number of successes in the sample, <parameter>n</parameter> is the number of trials, <parameter>M</parameter> is the number of successes overall, and <parameter>N</parameter> is the population size.</para>
        <para>If the optional argument <parameter>cumulative</parameter> is TRUE, the cumulative left tail will be returned.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>x</parameter>,<parameter>n</parameter>,<parameter>M</parameter> or <parameter>N</parameter> is a non-integer it is truncated.</para>
          </listitem>
          <listitem>
            <para>If <parameter>x</parameter>,<parameter>n</parameter>,<parameter>M</parameter> or <parameter>N</parameter> &lt; 0 <function>HYPGEOMDIST</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>x</parameter> &gt; <parameter>M</parameter> or <parameter>n</parameter> &gt; <parameter>N</parameter> <function>HYPGEOMDIST</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>HYPGEOMDIST</function>(1,2,3,10) equals 0.4666667.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-BINOMDIST"><function>BINOMDIST</function></link>,
        <link linkend="gnumeric-POISSON"><function>POISSON</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-INTERCEPT">
      <refmeta>
        <refentrytitle>
          <function>INTERCEPT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>INTERCEPT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>INTERCEPT</function>(<parameter>known_y</parameter>'s,<parameter>known_x</parameter>'s)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>INTERCEPT</function> function calculates the point where the linear regression line intersects the y-axis.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>known_x</parameter> or <parameter>known_y</parameter> contains no data entries or different number of data entries, <function>INTERCEPT</function> returns #N/A error.</para>
          </listitem>
          <listitem>
            <para>If the variance of the <parameter>known_x</parameter> is zero, <function>INTERCEPT</function> returns #DIV/0 error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1, and the cells B1, B2, ... B5 23.2, 25.8, 29.9, 33.5, and 42.7.  Then</para>
        <para><function>INTERCEPT</function>(A1:A5,B1:B5) equals -20.785117212.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-FORECAST"><function>FORECAST</function></link>,
        <link linkend="gnumeric-TREND"><function>TREND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-KURT">
      <refmeta>
        <refentrytitle>
          <function>KURT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>KURT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>KURT</function>(<parameter>n1</parameter>,<parameter/> n2,<parameter/> ...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>KURT</function> returns an unbiased estimate of the kurtosis of a data set.</para>
        <para>Note, that this is only meaningful if the underlying distribution really has a fourth moment.  The kurtosis is offset by three such that a normal distribution will have zero kurtosis.</para>
        <itemizedlist>
          <listitem>
            <para>Strings and empty cells are simply ignored.</para>
          </listitem>
          <listitem>
            <para>If fewer than four numbers are given or all of them are equal <function>KURT</function> returns #DIV/0! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1.  Then</para>
        <para><function>KURT</function>(A1:A5) equals 1.234546305.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-AVERAGE"><function>AVERAGE</function></link>,
        <link linkend="gnumeric-VAR"><function>VAR</function></link>,
        <link linkend="gnumeric-SKEW"><function>SKEW</function></link>,
        <link linkend="gnumeric-KURTP"><function>KURTP</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-KURTP">
      <refmeta>
        <refentrytitle>
          <function>KURTP</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>KURTP</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>KURTP</function>(<parameter>n1</parameter>,<parameter/> n2,<parameter/> ...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>KURTP</function> returns the population kurtosis of a data set.</para>
        <itemizedlist>
          <listitem>
            <para>Strings and empty cells are simply ignored.</para>
          </listitem>
          <listitem>
            <para>If fewer than two numbers are given or all of them are equal <function>KURTP</function> returns #DIV/0! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1.  Then</para>
        <para><function>KURTP</function>(A1:A5) equals -0.691363424.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-AVERAGE"><function>AVERAGE</function></link>,
        <link linkend="gnumeric-VARP"><function>VARP</function></link>,
        <link linkend="gnumeric-SKEWP"><function>SKEWP</function></link>,
        <link linkend="gnumeric-KURT"><function>KURT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-LANDAU">
      <refmeta>
        <refentrytitle>
          <function>LANDAU</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>LANDAU</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>LANDAU</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>LANDAU</function> returns the probability density p(x) at <parameter>x</parameter> for the Landau distribution using an approximation method.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>LANDAU</function>(0.34).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RANDLANDAU"><function>RANDLANDAU</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-LAPLACE">
      <refmeta>
        <refentrytitle>
          <function>LAPLACE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>LAPLACE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>LAPLACE</function>(<parameter>x</parameter>,<parameter>a</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>LAPLACE</function> returns the probability density p(x) at <parameter>x</parameter> for Laplace distribution with mean <parameter>a</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>LAPLACE</function>(0.4,1).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RANDLAPLACE"><function>RANDLAPLACE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-LARGE">
      <refmeta>
        <refentrytitle>
          <function>LARGE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>LARGE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>LARGE</function>(<parameter>n</parameter>,<parameter/> k)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>LARGE</function> returns the k-th largest value in a data set.</para>
        <itemizedlist>
          <listitem>
            <para>If data set is empty <function>LARGE</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>k</parameter> &lt;= 0 or <parameter>k</parameter> is greater than the number of data items given <function>LARGE</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1.  Then</para>
        <para><function>LARGE</function>(A1:A5,2) equals 25.9.</para>
        <para><function>LARGE</function>(A1:A5,4) equals 17.3.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-PERCENTILE"><function>PERCENTILE</function></link>,
        <link linkend="gnumeric-PERCENTRANK"><function>PERCENTRANK</function></link>,
        <link linkend="gnumeric-QUARTILE"><function>QUARTILE</function></link>,
        <link linkend="gnumeric-SMALL"><function>SMALL</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-LINEST">
      <refmeta>
        <refentrytitle>
          <function>LINEST</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>LINEST</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>LINEST</function>(<parameter>known_y</parameter>'s[,<parameter>known_x</parameter>'s[,<parameter>const</parameter>[,<parameter>stat</parameter>]]])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>LINEST</function> function calculates the ``least squares'' line that best fit to your data in <parameter>known_y</parameter>'s.  <parameter>known_x</parameter>'s contains the corresponding x's where y=mx+b.</para>
        <para><function>LINEST</function> returns an array having two columns and one row.  The slope (m) of the regression line y=mx+b is given in the first column and the y-intercept (b) in the second.</para>
        <para>If <parameter>stat</parameter> is TRUE, extra statistical information will be returned. Extra statistical information is written below the regression line coefficients in the result array.  Extra statistical information consists of four rows of data.  In the first row the standard error values for the coefficients m1, (m2, ...), b are represented.  The second row contains the square of R and the standard error for the y estimate.  The third row contains the F-observed value and the degrees of freedom.  The last row contains the regression sum of squares and the residual sum of squares.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>known_x</parameter>'s is omitted, an array {1, 2, 3, ...} is used.</para>
          </listitem>
          <listitem>
            <para>If <parameter>known_y</parameter>'s and <parameter>known_x</parameter>'s have unequal number of data points, <function>LINEST</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>const</parameter> is FALSE, the line will be forced to go through the origin, i.e., b will be zero. The default is TRUE.</para>
          </listitem>
          <listitem>
            <para>The default of <parameter>stat</parameter> is FALSE.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-LOGEST"><function>LOGEST</function></link>,
        <link linkend="gnumeric-TREND"><function>TREND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-LOGEST">
      <refmeta>
        <refentrytitle>
          <function>LOGEST</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>LOGEST</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>LOGEST</function>(<parameter>known_y</parameter>'s[,<parameter>known_x</parameter>'s,<parameter>const</parameter>,<parameter>stat</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>LOGEST</function> function applies the ``least squares'' method to fit an exponential curve of the form</para>
        <para>	y = b * m{1}^x{1} * m{2}^x{2}... to your data.</para>
        <para>If <parameter>stat</parameter> is TRUE, extra statistical information will be returned. Extra statistical information is written below the regression line coefficients in the result array.  Extra statistical information consists of four rows of data.  In the first row the standard error values for the coefficients m1, (m2, ...), b are represented.  The second row contains the square of R and the standard error for the y estimate.  The third row contains the F-observed value and the degrees of freedom.  The last row contains the regression sum of squares and the residual sum of squares.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>known_x</parameter>'s is omitted, an array {1, 2, 3, ...} is used. <function>LOGEST</function> returns an array { m{n},m{n-1}, ...,m{1},b }.</para>
          </listitem>
          <listitem>
            <para>If <parameter>known_y</parameter>'s and <parameter>known_x</parameter>'s have unequal number of data points, <function>LOGEST</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>const</parameter> is FALSE, the line will be forced to go through (0,1),i.e., b will be one.  The default is TRUE.</para>
          </listitem>
          <listitem>
            <para>The default of <parameter>stat</parameter> is FALSE.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-GROWTH"><function>GROWTH</function></link>,
        <link linkend="gnumeric-TREND"><function>TREND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-LOGFIT">
      <refmeta>
        <refentrytitle>
          <function>LOGFIT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>LOGFIT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>LOGFIT</function>(<parameter>known_y</parameter>'s,<parameter>known_x</parameter>'s)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>LOGFIT</function> function applies the ``least squares'' method to fit the logarithmic equation</para>
        <para>y = a + b * ln(sign * (x - c)) ,   sign = +1 or -1</para>
        <para>to your data. The graph of the equation is a logarithmic curve moved horizontally by c and possibly mirrored across the y-axis (if sign = -1).</para>
        <para><function>LOGFIT</function> returns an array having five columns and one row. `Sign' is given in the first column, `a', `b', and `c' are given in columns 2 to 4. Column 5 holds the sum of squared residuals.</para>
        <para>An error is returned when there are less than 3 different x's or y's, or when the shape of the point cloud is too different from a ``logarithmic'' one.</para>
        <para>You can use the above formula</para>
        <para>= a + b * ln(sign * (x - c))</para>
        <para>or rearrange it to</para>
        <para>= (exp((y - a) / b)) / sign + c</para>
        <para>to compute unknown y's or x's, respectively.</para>
        <para>Technically, this is non-linear fitting by trial-and-error. The accuracy of `c' is: width of x-range -&gt; rounded to the next smaller (10^integer), times 0.000001. There might be cases in which the returned fit is not the best possible.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-LOGREG"><function>LOGREG</function></link>,
        <link linkend="gnumeric-LINEST"><function>LINEST</function></link>,
        <link linkend="gnumeric-LOGEST"><function>LOGEST</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-LOGINV">
      <refmeta>
        <refentrytitle>
          <function>LOGINV</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>LOGINV</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>LOGINV</function>(<parameter>p</parameter>,<parameter>mean</parameter>,<parameter>stddev</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>LOGINV</function> function returns the inverse of the lognormal cumulative distribution. <parameter>p</parameter> is the given probability corresponding to the normal distribution, <parameter>mean</parameter> is the arithmetic mean of the distribution, and <parameter>stddev</parameter> is the standard deviation of the distribution.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>p</parameter> &lt; 0 or <parameter>p</parameter> &gt; 1 or <parameter>stddev</parameter> &lt;= 0 <function>LOGINV</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>LOGINV</function>(0.5,2,3) equals 7.389056099.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-EXP"><function>EXP</function></link>,
        <link linkend="gnumeric-LN"><function>LN</function></link>,
        <link linkend="gnumeric-LOG"><function>LOG</function></link>,
        <link linkend="gnumeric-LOG10"><function>LOG10</function></link>,
        <link linkend="gnumeric-LOGNORMDIST"><function>LOGNORMDIST</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-LOGISTIC">
      <refmeta>
        <refentrytitle>
          <function>LOGISTIC</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>LOGISTIC</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>LOGISTIC</function>(<parameter>x</parameter>,<parameter>a</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>LOGISTIC</function> returns the probability density p(x) at <parameter>x</parameter> for a logistic distribution with scale parameter <parameter>a</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>LOGISTIC</function>(0.4,1).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RANDLOGISTIC"><function>RANDLOGISTIC</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-LOGNORMDIST">
      <refmeta>
        <refentrytitle>
          <function>LOGNORMDIST</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>LOGNORMDIST</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>LOGNORMDIST</function>(<parameter>x</parameter>,<parameter>mean</parameter>,<parameter>stddev</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>LOGNORMDIST</function> function returns the lognormal distribution. <parameter>x</parameter> is the value for which you want the distribution, <parameter>mean</parameter> is the mean of the distribution, and <parameter>stddev</parameter> is the standard deviation of the distribution.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>stddev</parameter> = 0 <function>LOGNORMDIST</function> returns #DIV/0! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>x</parameter> &lt;= 0, <parameter>mean</parameter> &lt; 0 or <parameter>stddev</parameter> &lt; 0 <function>LOGNORMDIST</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>LOGNORMDIST</function>(3,1,2) equals 0.519662338.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-NORMDIST"><function>NORMDIST</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-LOGREG">
      <refmeta>
        <refentrytitle>
          <function>LOGREG</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>LOGREG</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>LOGREG</function>(<parameter>known_y</parameter>'s[,<parameter>known_x</parameter>'s[,<parameter>const</parameter>[,<parameter>stat</parameter>]]])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>LOGREG</function> function transforms your x's to z=ln(x) and applies the ``least squares'' method to fit the linear equation</para>
        <para>y = m * z + b</para>
        <para>to your y's and z's --- equivalent to fitting the equation</para>
        <para>y = m * ln(x) + b</para>
        <para>to y's and x's.</para>
        <para>If <parameter>known_x</parameter>'s is omitted, an array {1, 2, 3, ...} is used. <function>LOGREG</function> returns an array having two columns and one row. m is given in the first column and b in the second.</para>
        <para>If <parameter>known_y</parameter>'s and <parameter>known_x</parameter>'s have unequal number of data points, <function>LOGREG</function> returns #NUM! error.</para>
        <para>If <parameter>const</parameter> is FALSE, the curve will be forced to go through [1; 0], i.e., b will be zero. The default is TRUE.</para>
        <para>If <parameter>stat</parameter> is TRUE, extra statistical information will be returned which applies to the state AFTER transformation to z. Extra statistical information is written below m and b in the result array.  Extra statistical information consists of four rows of data.  In the first row the standard error values for the coefficients m, b are represented.  The second row contains the square of R and the standard error for the y estimate. The third row contains the F-observed value and the degrees of freedom.  The last row contains the regression sum of squares and the residual sum of squares.The default of <parameter>stat</parameter> is FALSE.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-LOGFIT"><function>LOGFIT</function></link>,
        <link linkend="gnumeric-LINEST"><function>LINEST</function></link>,
        <link linkend="gnumeric-LOGEST"><function>LOGEST</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-MAX">
      <refmeta>
        <refentrytitle>
          <function>MAX</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>MAX</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>MAX</function>(<parameter>b1</parameter>,<parameter/> b2,<parameter/> ...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>MAX</function> returns the value of the element of the values passed that has the largest value, with negative numbers considered smaller than positive numbers.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1.  Then</para>
        <para><function>MAX</function>(A1:A5) equals 40.1.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-MIN"><function>MIN</function></link>,
        <link linkend="gnumeric-ABS"><function>ABS</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-MAXA">
      <refmeta>
        <refentrytitle>
          <function>MAXA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>MAXA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>MAXA</function>(<parameter>number1</parameter>,<parameter>number2</parameter>,<parameter/>...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>MAXA</function> returns the largest value of the given arguments.  Numbers, text and logical values are included in the calculation too. If the cell contains text or the argument evaluates to FALSE, it is counted as value zero (0).  If the argument evaluates to TRUE, it is counted as one (1).  Note that empty cells are not counted.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers and strings 11.4, 17.3, "missing", 25.9, and 40.1.  Then</para>
        <para><function>MAXA</function>(A1:A5) equals 40.1.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-MAX"><function>MAX</function></link>,
        <link linkend="gnumeric-MINA"><function>MINA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-MEDIAN">
      <refmeta>
        <refentrytitle>
          <function>MEDIAN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>MEDIAN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>MEDIAN</function>(<parameter>n1</parameter>,<parameter/> n2,<parameter/> ...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>MEDIAN</function> returns the median of the given data set.</para>
        <itemizedlist>
          <listitem>
            <para>Strings and empty cells are simply ignored.</para>
          </listitem>
          <listitem>
            <para>If even numbers are given <function>MEDIAN</function> returns the average of the two numbers in the middle.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1.  Then</para>
        <para><function>MEDIAN</function>(A1:A5) equals 21.3.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-AVERAGE"><function>AVERAGE</function></link>,
        <link linkend="gnumeric-COUNT"><function>COUNT</function></link>,
        <link linkend="gnumeric-COUNTA"><function>COUNTA</function></link>,
        <link linkend="gnumeric-DAVERAGE"><function>DAVERAGE</function></link>,
        <link linkend="gnumeric-MODE"><function>MODE</function></link>,
        <link linkend="gnumeric-SSMEDIAN"><function>SSMEDIAN</function></link>,
        <link linkend="gnumeric-SUM"><function>SUM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-MIN">
      <refmeta>
        <refentrytitle>
          <function>MIN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>MIN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>MIN</function>(<parameter>b1</parameter>,<parameter/> b2,<parameter/> ...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>MIN</function> returns the value of the element of the values passed that has the smallest value, with negative numbers considered smaller than positive numbers.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1.  Then</para>
        <para><function>MIN</function>(A1:A5) equals 11.4.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-MAX"><function>MAX</function></link>,
        <link linkend="gnumeric-ABS"><function>ABS</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-MINA">
      <refmeta>
        <refentrytitle>
          <function>MINA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>MINA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>MINA</function>(<parameter>number1</parameter>,<parameter>number2</parameter>,<parameter/>...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>MINA</function> returns the smallest value of the given arguments.  Numbers, text and logical values are included in the calculation too. If the cell contains text or the argument evaluates to FALSE, it is counted as value zero (0).  If the argument evaluates to TRUE, it is counted as one (1).  Note that empty cells are not counted.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers and strings 11.4, 17.3, "missing", 25.9, and 40.1.  Then</para>
        <para><function>MINA</function>(A1:A5) equals 0.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-MIN"><function>MIN</function></link>,
        <link linkend="gnumeric-MAXA"><function>MAXA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-MODE">
      <refmeta>
        <refentrytitle>
          <function>MODE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>MODE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>MODE</function>(<parameter>n1</parameter>,<parameter/> n2,<parameter/> ...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>MODE</function> returns the most common number of the data set. If the data set has many most common numbers <function>MODE</function> returns the first one of them.</para>
        <itemizedlist>
          <listitem>
            <para>Strings and empty cells are simply ignored.</para>
          </listitem>
          <listitem>
            <para>If the data set does not contain any duplicates <function>MODE</function> returns #N/A error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 11.4, 25.9, and 40.1.  Then</para>
        <para><function>MODE</function>(A1:A5) equals 11.4.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-AVERAGE"><function>AVERAGE</function></link>,
        <link linkend="gnumeric-MEDIAN"><function>MEDIAN</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-NEGBINOMDIST">
      <refmeta>
        <refentrytitle>
          <function>NEGBINOMDIST</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>NEGBINOMDIST</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>NEGBINOMDIST</function>(<parameter>f</parameter>,<parameter>t</parameter>,<parameter>p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>NEGBINOMDIST</function> function returns the negative binomial distribution. <parameter>f</parameter> is the number of failures, <parameter>t</parameter> is the threshold number of successes, and <parameter>p</parameter> is the probability of a success.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>f</parameter> or <parameter>t</parameter> is a non-integer it is truncated.</para>
          </listitem>
          <listitem>
            <para>If (<parameter>f</parameter> + <parameter>t</parameter> -1) &lt;= 0 <function>NEGBINOMDIST</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>p</parameter> &lt; 0 or <parameter>p</parameter> &gt; 1 <function>NEGBINOMDIST</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>NEGBINOMDIST</function>(2,5,0.55) equals 0.152872629.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-BINOMDIST"><function>BINOMDIST</function></link>,
        <link linkend="gnumeric-COMBIN"><function>COMBIN</function></link>,
        <link linkend="gnumeric-FACT"><function>FACT</function></link>,
        <link linkend="gnumeric-HYPGEOMDIST"><function>HYPGEOMDIST</function></link>,
        <link linkend="gnumeric-PERMUT"><function>PERMUT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-NORMDIST">
      <refmeta>
        <refentrytitle>
          <function>NORMDIST</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>NORMDIST</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>NORMDIST</function>(<parameter>x</parameter>,<parameter>mean</parameter>,<parameter>stddev</parameter>,<parameter>cumulative</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>The <function>NORMDIST</function> function returns the value of the probability density function or the cumulative distribution function for the normal distribution with the mean given by <parameter>mean</parameter>, and the standard deviation given by <parameter>stddev</parameter>. If <parameter>cumulative</parameter> is FALSE, <function>NORMDIST</function> returns the value of the probability density function at the value <parameter>x</parameter>. If <parameter>cumulative</parameter> is TRUE, <function>NORMDIST</function> returns the value of the cumulative distribution function at <parameter>x</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>stddev</parameter> is 0 <function>NORMDIST</function> returns #DIV/0! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>NORMDIST</function>(2,1,2,0) equals 0.176032663.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-POISSON"><function>POISSON</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-NORMINV">
      <refmeta>
        <refentrytitle>
          <function>NORMINV</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>NORMINV</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>NORMINV</function>(<parameter>p</parameter>,<parameter>mean</parameter>,<parameter>stddev</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>NORMINV</function> function returns the inverse of the normal cumulative distribution. <parameter>p</parameter> is the given probability corresponding to the normal distribution, <parameter>mean</parameter> is the arithmetic mean of the distribution, and <parameter>stddev</parameter> is the standard deviation of the distribution.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>p</parameter> &lt; 0 or <parameter>p</parameter> &gt; 1 or <parameter>stddev</parameter> &lt;= 0 <function>NORMINV</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>NORMINV</function>(0.76,2,3) equals 4.118907689.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-NORMDIST"><function>NORMDIST</function></link>,
        <link linkend="gnumeric-NORMSDIST"><function>NORMSDIST</function></link>,
        <link linkend="gnumeric-NORMSINV"><function>NORMSINV</function></link>,
        <link linkend="gnumeric-STANDARDIZE"><function>STANDARDIZE</function></link>,
        <link linkend="gnumeric-ZTEST"><function>ZTEST</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-NORMSDIST">
      <refmeta>
        <refentrytitle>
          <function>NORMSDIST</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>NORMSDIST</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>NORMSDIST</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>NORMSDIST</function> function returns the standard normal cumulative distribution. <parameter>x</parameter> is the value for which you want the distribution.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>NORMSDIST</function>(2) equals 0.977249868.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-NORMDIST"><function>NORMDIST</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-NORMSINV">
      <refmeta>
        <refentrytitle>
          <function>NORMSINV</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>NORMSINV</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>NORMSINV</function>(<parameter>p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>NORMSINV</function> function returns the inverse of the standard normal cumulative distribution. <parameter>p</parameter> is the given probability corresponding to the normal distribution.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>p</parameter> &lt; 0 or <parameter>p</parameter> &gt; 1 <function>NORMSINV</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>NORMSINV</function>(0.2) equals -0.841621234.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-NORMDIST"><function>NORMDIST</function></link>,
        <link linkend="gnumeric-NORMINV"><function>NORMINV</function></link>,
        <link linkend="gnumeric-NORMSDIST"><function>NORMSDIST</function></link>,
        <link linkend="gnumeric-STANDARDIZE"><function>STANDARDIZE</function></link>,
        <link linkend="gnumeric-ZTEST"><function>ZTEST</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-PARETO">
      <refmeta>
        <refentrytitle>
          <function>PARETO</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>PARETO</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>PARETO</function>(<parameter>x</parameter>,<parameter>a</parameter>,<parameter>b</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>PARETO</function> returns the probability density p(x) at <parameter>x</parameter> for a Pareto distribution with exponent <parameter>a</parameter> and scale <parameter>b</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>PARETO</function>(0.6,1,2).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RANDPARETO"><function>RANDPARETO</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-PEARSON">
      <refmeta>
        <refentrytitle>
          <function>PEARSON</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>PEARSON</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>PEARSON</function>(<parameter>array1</parameter>,<parameter>array2</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>PEARSON</function> returns the Pearson correlation coefficient of two data sets.</para>
        <itemizedlist>
          <listitem>
            <para>Strings and empty cells are simply ignored.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-INTERCEPT"><function>INTERCEPT</function></link>,
        <link linkend="gnumeric-LINEST"><function>LINEST</function></link>,
        <link linkend="gnumeric-RSQ"><function>RSQ</function></link>,
        <link linkend="gnumeric-SLOPE"><function>SLOPE</function></link>,
        <link linkend="gnumeric-STEYX"><function>STEYX</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-PERCENTILE">
      <refmeta>
        <refentrytitle>
          <function>PERCENTILE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>PERCENTILE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>PERCENTILE</function>(<parameter>array</parameter>,<parameter>k</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>PERCENTILE</function> function returns the 100*<parameter>k</parameter>-th percentile of the given data points (that is, a number x such that a fraction <parameter>k</parameter> of the data points are less than x).</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>array</parameter> is empty, <function>PERCENTILE</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>k</parameter> &lt; 0 or <parameter>k</parameter> &gt; 1, <function>PERCENTILE</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1.  Then</para>
        <para><function>PERCENTILE</function>(A1:A5,0.42) equals 20.02.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-QUARTILE"><function>QUARTILE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-PERCENTRANK">
      <refmeta>
        <refentrytitle>
          <function>PERCENTRANK</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>PERCENTRANK</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>PERCENTRANK</function>(<parameter>array</parameter>,<parameter>x</parameter>[,<parameter>significance</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>PERCENTRANK</function> function returns the rank of a data point in a data set.  <parameter>array</parameter> is the range of numeric values, <parameter>x</parameter> is the data point which you want to rank, and the optional <parameter>significance</parameter> specifies the number of significant digits for the returned value, truncating the remainder.  If <parameter>significance</parameter> is omitted, <function>PERCENTRANK</function> uses three digits.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>array</parameter> contains no data points, <function>PERCENTRANK</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>significance</parameter> is less than one, <function>PERCENTRANK</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>x</parameter> exceeds the largest value or is less than the smallest value in <parameter>array</parameter>, <function>PERCENTRANK</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>x</parameter> does not match any of the values in <parameter>array</parameter> or <parameter>x</parameter> matches more than once, <function>PERCENTRANK</function> interpolates the returned value.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-LARGE"><function>LARGE</function></link>,
        <link linkend="gnumeric-MAX"><function>MAX</function></link>,
        <link linkend="gnumeric-MEDIAN"><function>MEDIAN</function></link>,
        <link linkend="gnumeric-MIN"><function>MIN</function></link>,
        <link linkend="gnumeric-PERCENTILE"><function>PERCENTILE</function></link>,
        <link linkend="gnumeric-QUARTILE"><function>QUARTILE</function></link>,
        <link linkend="gnumeric-SMALL"><function>SMALL</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-PERMUT">
      <refmeta>
        <refentrytitle>
          <function>PERMUT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>PERMUT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>PERMUT</function>(<parameter>n</parameter>,<parameter>k</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>PERMUT</function> function returns the number of permutations. <parameter>n</parameter> is the number of objects, <parameter>k</parameter> is the number of objects in each permutation.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>n</parameter> = 0 <function>PERMUT</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>n</parameter> &lt; <parameter>k</parameter> <function>PERMUT</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>PERMUT</function>(7,3) equals 210.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-COMBIN"><function>COMBIN</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-POISSON">
      <refmeta>
        <refentrytitle>
          <function>POISSON</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>POISSON</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>POISSON</function>(<parameter>x</parameter>,<parameter>mean</parameter>,<parameter>cumulative</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>POISSON</function> function returns the Poisson distribution. <parameter>x</parameter> is the number of events, <parameter>mean</parameter> is the expected numeric value <parameter>cumulative</parameter> describes whether to return the sum of the Poisson function from 0 to <parameter>x</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>x</parameter> is a non-integer it is truncated.</para>
          </listitem>
          <listitem>
            <para>If <parameter>x</parameter> &lt; 0 <function>POISSON</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>mean</parameter> &lt;= 0 <function>POISSON</function> returns the #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>POISSON</function>(3,6,0) equals 0.089235078.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-NORMDIST"><function>NORMDIST</function></link>,
        <link linkend="gnumeric-WEIBULL"><function>WEIBULL</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-PROB">
      <refmeta>
        <refentrytitle>
          <function>PROB</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>PROB</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>PROB</function>(<parameter>x_range</parameter>,<parameter>prob_range</parameter>,<parameter>lower_limit</parameter>[,<parameter>upper_limit</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>PROB</function> function returns the probability that values in a range or an array are between two limits. If <parameter>upper_limit</parameter> is not given, <function>PROB</function> returns the probability that values in <parameter>x_range</parameter> are equal to <parameter>lower_limit</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If the sum of the probabilities in <parameter>prob_range</parameter> is not equal to 1 <function>PROB</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If any value in <parameter>prob_range</parameter> is &lt;=0 or &gt; 1, <function>PROB</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>x_range</parameter> and <parameter>prob_range</parameter> contain a different number of data entries, <function>PROB</function> returns #N/A error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-BINOMDIST"><function>BINOMDIST</function></link>,
        <link linkend="gnumeric-CRITBINOM"><function>CRITBINOM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-QUARTILE">
      <refmeta>
        <refentrytitle>
          <function>QUARTILE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>QUARTILE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>QUARTILE</function>(<parameter>array</parameter>,<parameter>quart</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>QUARTILE</function> function returns the quartile of the given data points.</para>
        <para>If <parameter>quart</parameter> is equal to: <function>QUARTILE</function> returns:</para>
        <para>0                      the smallest value of <parameter>array</parameter>.</para>
        <para>1                      the first quartile</para>
        <para>2                      the second quartile</para>
        <para>3                      the third quartile</para>
        <para>4                      the largest value of <parameter>array</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>array</parameter> is empty, <function>QUARTILE</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>quart</parameter> &lt; 0 or <parameter>quart</parameter> &gt; 4, <function>QUARTILE</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>quart</parameter> is not an integer, it is truncated.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1.  Then</para>
        <para><function>QUARTILE</function>(A1:A5,1) equals 17.3.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-LARGE"><function>LARGE</function></link>,
        <link linkend="gnumeric-MAX"><function>MAX</function></link>,
        <link linkend="gnumeric-MEDIAN"><function>MEDIAN</function></link>,
        <link linkend="gnumeric-MIN"><function>MIN</function></link>,
        <link linkend="gnumeric-PERCENTILE"><function>PERCENTILE</function></link>,
        <link linkend="gnumeric-SMALL"><function>SMALL</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.DBETA">
      <refmeta>
        <refentrytitle>
          <function>R.DBETA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.DBETA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.DBETA</function>(<parameter>x</parameter>,<parameter>a</parameter>,<parameter>b</parameter>,<parameter>give_log</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability density function of the beta distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>a</parameter>: the first shape parameter of the distribution</para>
        <para><parameter>b</parameter>: the second scale parameter of the distribution</para>
        <para><parameter>give_log</parameter>: if true, log of the result will be returned instead.  This is useful if the result would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.PBETA"><function>R.PBETA</function></link>,
        <link linkend="gnumeric-R.QBETA"><function>R.QBETA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.DBINOM">
      <refmeta>
        <refentrytitle>
          <function>R.DBINOM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.DBINOM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.DBINOM</function>(<parameter>x</parameter>,<parameter>n</parameter>,<parameter>psuc</parameter>,<parameter>give_log</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability density function of the binomial distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>n</parameter>: the number of trials</para>
        <para><parameter>psuc</parameter>: the probability of success in each trial</para>
        <para><parameter>give_log</parameter>: if true, log of the result will be returned instead.  This is useful if the result would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.PBINOM"><function>R.PBINOM</function></link>,
        <link linkend="gnumeric-R.QBINOM"><function>R.QBINOM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.DCAUCHY">
      <refmeta>
        <refentrytitle>
          <function>R.DCAUCHY</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.DCAUCHY</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.DCAUCHY</function>(<parameter>x</parameter>,<parameter>location</parameter>,<parameter>scale</parameter>,<parameter>give_log</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability density function of the Cauchy distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>location</parameter>: the center of the distribution</para>
        <para><parameter>scale</parameter>: the scale parameter of the distribution</para>
        <para><parameter>give_log</parameter>: if true, log of the result will be returned instead.  This is useful if the result would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.PCAUCHY"><function>R.PCAUCHY</function></link>,
        <link linkend="gnumeric-R.QCAUCHY"><function>R.QCAUCHY</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.DCHISQ">
      <refmeta>
        <refentrytitle>
          <function>R.DCHISQ</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.DCHISQ</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.DCHISQ</function>(<parameter>x</parameter>,<parameter>df</parameter>,<parameter>give_log</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability density function of the chi-square distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>df</parameter>: the number of degrees of freedom of the distribution</para>
        <para><parameter>give_log</parameter>: if true, log of the result will be returned instead.  This is useful if the result would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.PCHISQ"><function>R.PCHISQ</function></link>,
        <link linkend="gnumeric-R.QCHISQ"><function>R.QCHISQ</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.DEXP">
      <refmeta>
        <refentrytitle>
          <function>R.DEXP</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.DEXP</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.DEXP</function>(<parameter>x</parameter>,<parameter>scale</parameter>,<parameter>give_log</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability density function of the exponential distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>scale</parameter>: the scale parameter of the distribution</para>
        <para><parameter>give_log</parameter>: if true, log of the result will be returned instead.  This is useful if the result would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.PEXP"><function>R.PEXP</function></link>,
        <link linkend="gnumeric-R.QEXP"><function>R.QEXP</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.DF">
      <refmeta>
        <refentrytitle>
          <function>R.DF</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.DF</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.DF</function>(<parameter>x</parameter>,<parameter>n1</parameter>,<parameter>n2</parameter>,<parameter>give_log</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability density function of the F distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>n1</parameter>: the first number of degrees of freedom of the distribution</para>
        <para><parameter>n2</parameter>: the second number of degrees of freedom of the distribution</para>
        <para><parameter>give_log</parameter>: if true, log of the result will be returned instead.  This is useful if the result would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.PF"><function>R.PF</function></link>,
        <link linkend="gnumeric-R.QF"><function>R.QF</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.DGAMMA">
      <refmeta>
        <refentrytitle>
          <function>R.DGAMMA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.DGAMMA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.DGAMMA</function>(<parameter>x</parameter>,<parameter>shape</parameter>,<parameter>scale</parameter>,<parameter>give_log</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability density function of the gamma distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>shape</parameter>: the shape parameter of the distribution</para>
        <para><parameter>scale</parameter>: the scale parameter of the distribution</para>
        <para><parameter>give_log</parameter>: if true, log of the result will be returned instead.  This is useful if the result would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.PGAMMA"><function>R.PGAMMA</function></link>,
        <link linkend="gnumeric-R.QGAMMA"><function>R.QGAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.DGEOM">
      <refmeta>
        <refentrytitle>
          <function>R.DGEOM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.DGEOM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.DGEOM</function>(<parameter>x</parameter>,<parameter>psuc</parameter>,<parameter>give_log</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability density function of the geometric distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>psuc</parameter>: the probability of success in each trial</para>
        <para><parameter>give_log</parameter>: if true, log of the result will be returned instead.  This is useful if the result would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.PGEOM"><function>R.PGEOM</function></link>,
        <link linkend="gnumeric-R.QGEOM"><function>R.QGEOM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.DHYPER">
      <refmeta>
        <refentrytitle>
          <function>R.DHYPER</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.DHYPER</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.DHYPER</function>(<parameter>x</parameter>,<parameter>r</parameter>,<parameter>b</parameter>,<parameter>n</parameter>,<parameter>give_log</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability density function of the hypergeometric distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>r</parameter>: the number of red balls</para>
        <para><parameter>b</parameter>: the number of black balls</para>
        <para><parameter>n</parameter>: the number of balls drawn</para>
        <para><parameter>give_log</parameter>: if true, log of the result will be returned instead.  This is useful if the result would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.PHYPER"><function>R.PHYPER</function></link>,
        <link linkend="gnumeric-R.QHYPER"><function>R.QHYPER</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.DLNORM">
      <refmeta>
        <refentrytitle>
          <function>R.DLNORM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.DLNORM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.DLNORM</function>(<parameter>x</parameter>,<parameter>logmean</parameter>,<parameter>logsd</parameter>,<parameter>give_log</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability density function of the log-normal distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>logmean</parameter>: mean of the underlying normal distribution.</para>
        <para><parameter>logsd</parameter>: standard deviation of the underlying normal distribution.</para>
        <para><parameter>give_log</parameter>: if true, log of the result will be returned instead.  This is useful if the result would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.PLNORM"><function>R.PLNORM</function></link>,
        <link linkend="gnumeric-R.QLNORM"><function>R.QLNORM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.DNBINOM">
      <refmeta>
        <refentrytitle>
          <function>R.DNBINOM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.DNBINOM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.DNBINOM</function>(<parameter>x</parameter>,<parameter>n</parameter>,<parameter>psuc</parameter>,<parameter>give_log</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability density function of the negative binomial distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>n</parameter>: the number of trials</para>
        <para><parameter>psuc</parameter>: the probability of success in each trial</para>
        <para><parameter>give_log</parameter>: if true, log of the result will be returned instead.  This is useful if the result would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.PNBINOM"><function>R.PNBINOM</function></link>,
        <link linkend="gnumeric-R.QNBINOM"><function>R.QNBINOM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.DNORM">
      <refmeta>
        <refentrytitle>
          <function>R.DNORM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.DNORM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.DNORM</function>(<parameter>x</parameter>,<parameter>mu</parameter>,<parameter>sigma</parameter>,<parameter>give_log</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability density function of the normal distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>mu</parameter>: mean of the distribution.</para>
        <para><parameter>sigma</parameter>: standard deviation of the distribution.</para>
        <para><parameter>give_log</parameter>: if true, log of the result will be returned instead.  This is useful if the result would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.PNORM"><function>R.PNORM</function></link>,
        <link linkend="gnumeric-R.QNORM"><function>R.QNORM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.DPOIS">
      <refmeta>
        <refentrytitle>
          <function>R.DPOIS</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.DPOIS</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.DPOIS</function>(<parameter>x</parameter>,<parameter>lambda</parameter>,<parameter>give_log</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability density function of the Poisson distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>lambda</parameter>: the mean of the distribution</para>
        <para><parameter>give_log</parameter>: if true, log of the result will be returned instead.  This is useful if the result would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.PPOIS"><function>R.PPOIS</function></link>,
        <link linkend="gnumeric-R.QPOIS"><function>R.QPOIS</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.DT">
      <refmeta>
        <refentrytitle>
          <function>R.DT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.DT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.DT</function>(<parameter>x</parameter>,<parameter>n</parameter>,<parameter>give_log</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability density function of the Student t distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>n</parameter>: the number of degrees of freedom of the distribution</para>
        <para><parameter>give_log</parameter>: if true, log of the result will be returned instead.  This is useful if the result would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.PT"><function>R.PT</function></link>,
        <link linkend="gnumeric-R.QT"><function>R.QT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.DWEIBULL">
      <refmeta>
        <refentrytitle>
          <function>R.DWEIBULL</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.DWEIBULL</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.DWEIBULL</function>(<parameter>x</parameter>,<parameter>shape</parameter>,<parameter>scale</parameter>,<parameter>give_log</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability density function of the Weibull distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>shape</parameter>: the shape parameter of the distribution</para>
        <para><parameter>scale</parameter>: the scale parameter of the distribution</para>
        <para><parameter>give_log</parameter>: if true, log of the result will be returned instead.  This is useful if the result would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.PWEIBULL"><function>R.PWEIBULL</function></link>,
        <link linkend="gnumeric-R.QWEIBULL"><function>R.QWEIBULL</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.PBETA">
      <refmeta>
        <refentrytitle>
          <function>R.PBETA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.PBETA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.PBETA</function>(<parameter>x</parameter>,<parameter>a</parameter>,<parameter>b</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the cumulative distribution function of the beta distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>a</parameter>: the first shape parameter of the distribution</para>
        <para><parameter>b</parameter>: the second scale parameter of the distribution</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DBETA"><function>R.DBETA</function></link>,
        <link linkend="gnumeric-R.QBETA"><function>R.QBETA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.PBINOM">
      <refmeta>
        <refentrytitle>
          <function>R.PBINOM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.PBINOM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.PBINOM</function>(<parameter>x</parameter>,<parameter>n</parameter>,<parameter>psuc</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the cumulative distribution function of the binomial distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>n</parameter>: the number of trials</para>
        <para><parameter>psuc</parameter>: the probability of success in each trial</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DBINOM"><function>R.DBINOM</function></link>,
        <link linkend="gnumeric-R.QBINOM"><function>R.QBINOM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.PCAUCHY">
      <refmeta>
        <refentrytitle>
          <function>R.PCAUCHY</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.PCAUCHY</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.PCAUCHY</function>(<parameter>x</parameter>,<parameter>location</parameter>,<parameter>scale</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the cumulative distribution function of the Cauchy distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>location</parameter>: the center of the distribution</para>
        <para><parameter>scale</parameter>: the scale parameter of the distribution</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DCAUCHY"><function>R.DCAUCHY</function></link>,
        <link linkend="gnumeric-R.QCAUCHY"><function>R.QCAUCHY</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.PCHISQ">
      <refmeta>
        <refentrytitle>
          <function>R.PCHISQ</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.PCHISQ</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.PCHISQ</function>(<parameter>x</parameter>,<parameter>df</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the cumulative distribution function of the chi-square distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>df</parameter>: the number of degrees of freedom of the distribution</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DCHISQ"><function>R.DCHISQ</function></link>,
        <link linkend="gnumeric-R.QCHISQ"><function>R.QCHISQ</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.PEXP">
      <refmeta>
        <refentrytitle>
          <function>R.PEXP</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.PEXP</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.PEXP</function>(<parameter>x</parameter>,<parameter>scale</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the cumulative distribution function of the exponential distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>scale</parameter>: the scale parameter of the distribution</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DEXP"><function>R.DEXP</function></link>,
        <link linkend="gnumeric-R.QEXP"><function>R.QEXP</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.PF">
      <refmeta>
        <refentrytitle>
          <function>R.PF</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.PF</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.PF</function>(<parameter>x</parameter>,<parameter>n1</parameter>,<parameter>n2</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the cumulative distribution function of the F distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>n1</parameter>: the first number of degrees of freedom of the distribution</para>
        <para><parameter>n2</parameter>: the second number of degrees of freedom of the distribution</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DF"><function>R.DF</function></link>,
        <link linkend="gnumeric-R.QF"><function>R.QF</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.PGAMMA">
      <refmeta>
        <refentrytitle>
          <function>R.PGAMMA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.PGAMMA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.PGAMMA</function>(<parameter>x</parameter>,<parameter>shape</parameter>,<parameter>scale</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the cumulative distribution function of the gamma distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>shape</parameter>: the shape parameter of the distribution</para>
        <para><parameter>scale</parameter>: the scale parameter of the distribution</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DGAMMA"><function>R.DGAMMA</function></link>,
        <link linkend="gnumeric-R.QGAMMA"><function>R.QGAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.PGEOM">
      <refmeta>
        <refentrytitle>
          <function>R.PGEOM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.PGEOM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.PGEOM</function>(<parameter>x</parameter>,<parameter>psuc</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the cumulative distribution function of the geometric distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>psuc</parameter>: the probability of success in each trial</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DGEOM"><function>R.DGEOM</function></link>,
        <link linkend="gnumeric-R.QGEOM"><function>R.QGEOM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.PHYPER">
      <refmeta>
        <refentrytitle>
          <function>R.PHYPER</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.PHYPER</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.PHYPER</function>(<parameter>x</parameter>,<parameter>r</parameter>,<parameter>b</parameter>,<parameter>n</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the cumulative distribution function of the hypergeometric distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>r</parameter>: the number of red balls</para>
        <para><parameter>b</parameter>: the number of black balls</para>
        <para><parameter>n</parameter>: the number of balls drawn</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DHYPER"><function>R.DHYPER</function></link>,
        <link linkend="gnumeric-R.QHYPER"><function>R.QHYPER</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.PLNORM">
      <refmeta>
        <refentrytitle>
          <function>R.PLNORM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.PLNORM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.PLNORM</function>(<parameter>x</parameter>,<parameter>logmean</parameter>,<parameter>logsd</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the cumulative distribution function of the log-normal distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>logmean</parameter>: mean of the underlying normal distribution.</para>
        <para><parameter>logsd</parameter>: standard deviation of the underlying normal distribution.</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DLNORM"><function>R.DLNORM</function></link>,
        <link linkend="gnumeric-R.QLNORM"><function>R.QLNORM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.PNBINOM">
      <refmeta>
        <refentrytitle>
          <function>R.PNBINOM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.PNBINOM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.PNBINOM</function>(<parameter>x</parameter>,<parameter>n</parameter>,<parameter>psuc</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the cumulative distribution function of the negative binomial distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>n</parameter>: the number of trials</para>
        <para><parameter>psuc</parameter>: the probability of success in each trial</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DNBINOM"><function>R.DNBINOM</function></link>,
        <link linkend="gnumeric-R.QNBINOM"><function>R.QNBINOM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.PNORM">
      <refmeta>
        <refentrytitle>
          <function>R.PNORM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.PNORM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.PNORM</function>(<parameter>x</parameter>,<parameter>mu</parameter>,<parameter>sigma</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the cumulative distribution function of the normal distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>mu</parameter>: mean of the distribution.</para>
        <para><parameter>sigma</parameter>: standard deviation of the distribution.</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DNORM"><function>R.DNORM</function></link>,
        <link linkend="gnumeric-R.QNORM"><function>R.QNORM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.PPOIS">
      <refmeta>
        <refentrytitle>
          <function>R.PPOIS</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.PPOIS</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.PPOIS</function>(<parameter>x</parameter>,<parameter>lambda</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the cumulative distribution function of the Poisson distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>lambda</parameter>: the mean of the distribution</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DPOIS"><function>R.DPOIS</function></link>,
        <link linkend="gnumeric-R.QPOIS"><function>R.QPOIS</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.PT">
      <refmeta>
        <refentrytitle>
          <function>R.PT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.PT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.PT</function>(<parameter>x</parameter>,<parameter>n</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the cumulative distribution function of the Student t distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>n</parameter>: the number of degrees of freedom of the distribution</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DT"><function>R.DT</function></link>,
        <link linkend="gnumeric-R.QT"><function>R.QT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.PWEIBULL">
      <refmeta>
        <refentrytitle>
          <function>R.PWEIBULL</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.PWEIBULL</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.PWEIBULL</function>(<parameter>x</parameter>,<parameter>shape</parameter>,<parameter>scale</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the cumulative distribution function of the Weibull distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>shape</parameter>: the shape parameter of the distribution</para>
        <para><parameter>scale</parameter>: the scale parameter of the distribution</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DWEIBULL"><function>R.DWEIBULL</function></link>,
        <link linkend="gnumeric-R.QWEIBULL"><function>R.QWEIBULL</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.QBETA">
      <refmeta>
        <refentrytitle>
          <function>R.QBETA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.QBETA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.QBETA</function>(<parameter>p</parameter>,<parameter>a</parameter>,<parameter>b</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability quantile function, i.e., the inverse of the cumulative distribution function, of the beta distribution.</para>
        <para><parameter>p</parameter>: probability.</para>
        <para><parameter>a</parameter>: the first shape parameter of the distribution</para>
        <para><parameter>b</parameter>: the second scale parameter of the distribution</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DBETA"><function>R.DBETA</function></link>,
        <link linkend="gnumeric-R.PBETA"><function>R.PBETA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.QBINOM">
      <refmeta>
        <refentrytitle>
          <function>R.QBINOM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.QBINOM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.QBINOM</function>(<parameter>x</parameter>,<parameter>n</parameter>,<parameter>psuc</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability quantile function, i.e., the inverse of the cumulative distribution function, of the binomial distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>n</parameter>: the number of trials</para>
        <para><parameter>psuc</parameter>: the probability of success in each trial</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DBINOM"><function>R.DBINOM</function></link>,
        <link linkend="gnumeric-R.PBINOM"><function>R.PBINOM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.QCAUCHY">
      <refmeta>
        <refentrytitle>
          <function>R.QCAUCHY</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.QCAUCHY</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.QCAUCHY</function>(<parameter>p</parameter>,<parameter>location</parameter>,<parameter>scale</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability quantile function, i.e., the inverse of the cumulative distribution function, of the Cauchy distribution.</para>
        <para><parameter>p</parameter>: probability.</para>
        <para><parameter>location</parameter>: the center of the distribution</para>
        <para><parameter>scale</parameter>: the scale parameter of the distribution</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DCAUCHY"><function>R.DCAUCHY</function></link>,
        <link linkend="gnumeric-R.PCAUCHY"><function>R.PCAUCHY</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.QCHISQ">
      <refmeta>
        <refentrytitle>
          <function>R.QCHISQ</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.QCHISQ</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.QCHISQ</function>(<parameter>p</parameter>,<parameter>df</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability quantile function, i.e., the inverse of the cumulative distribution function, of the chi-square distribution.</para>
        <para><parameter>p</parameter>: probability.</para>
        <para><parameter>df</parameter>: the number of degrees of freedom of the distribution</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DCHISQ"><function>R.DCHISQ</function></link>,
        <link linkend="gnumeric-R.PCHISQ"><function>R.PCHISQ</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.QEXP">
      <refmeta>
        <refentrytitle>
          <function>R.QEXP</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.QEXP</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.QEXP</function>(<parameter>p</parameter>,<parameter>scale</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability quantile function, i.e., the inverse of the cumulative distribution function, of the exponential distribution.</para>
        <para><parameter>p</parameter>: probability.</para>
        <para><parameter>scale</parameter>: the scale parameter of the distribution</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DEXP"><function>R.DEXP</function></link>,
        <link linkend="gnumeric-R.PEXP"><function>R.PEXP</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.QF">
      <refmeta>
        <refentrytitle>
          <function>R.QF</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.QF</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.QF</function>(<parameter>x</parameter>,<parameter>n1</parameter>,<parameter>n2</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability quantile function, i.e., the inverse of the cumulative distribution function, of the F distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>n1</parameter>: the first number of degrees of freedom of the distribution</para>
        <para><parameter>n2</parameter>: the second number of degrees of freedom of the distribution</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DF"><function>R.DF</function></link>,
        <link linkend="gnumeric-R.PF"><function>R.PF</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.QGAMMA">
      <refmeta>
        <refentrytitle>
          <function>R.QGAMMA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.QGAMMA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.QGAMMA</function>(<parameter>p</parameter>,<parameter>shape</parameter>,<parameter>scale</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability quantile function, i.e., the inverse of the cumulative distribution function, of the gamma distribution.</para>
        <para><parameter>p</parameter>: probability.</para>
        <para><parameter>shape</parameter>: the shape parameter of the distribution</para>
        <para><parameter>scale</parameter>: the scale parameter of the distribution</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DGAMMA"><function>R.DGAMMA</function></link>,
        <link linkend="gnumeric-R.PGAMMA"><function>R.PGAMMA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.QGEOM">
      <refmeta>
        <refentrytitle>
          <function>R.QGEOM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.QGEOM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.QGEOM</function>(<parameter>p</parameter>,<parameter>psuc</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability quantile function, i.e., the inverse of the cumulative distribution function, of the geometric distribution.</para>
        <para><parameter>p</parameter>: probability.</para>
        <para><parameter>psuc</parameter>: the probability of success in each trial</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DGEOM"><function>R.DGEOM</function></link>,
        <link linkend="gnumeric-R.PGEOM"><function>R.PGEOM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.QHYPER">
      <refmeta>
        <refentrytitle>
          <function>R.QHYPER</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.QHYPER</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.QHYPER</function>(<parameter>p</parameter>,<parameter>r</parameter>,<parameter>b</parameter>,<parameter>n</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability quantile function, i.e., the inverse of the cumulative distribution function, of the hypergeometric distribution.</para>
        <para><parameter>p</parameter>: probability.</para>
        <para><parameter>r</parameter>: the number of red balls</para>
        <para><parameter>b</parameter>: the number of black balls</para>
        <para><parameter>n</parameter>: the number of balls drawn</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DHYPER"><function>R.DHYPER</function></link>,
        <link linkend="gnumeric-R.PHYPER"><function>R.PHYPER</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.QLNORM">
      <refmeta>
        <refentrytitle>
          <function>R.QLNORM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.QLNORM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.QLNORM</function>(<parameter>x</parameter>,<parameter>logmean</parameter>,<parameter>logsd</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability quantile function, i.e., the inverse of the cumulative distribution function, of the log-normal distribution.</para>
        <para><parameter>x</parameter>: observation.</para>
        <para><parameter>logmean</parameter>: mean of the underlying normal distribution.</para>
        <para><parameter>logsd</parameter>: standard deviation of the underlying normal distribution.</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DLNORM"><function>R.DLNORM</function></link>,
        <link linkend="gnumeric-R.PLNORM"><function>R.PLNORM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.QNBINOM">
      <refmeta>
        <refentrytitle>
          <function>R.QNBINOM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.QNBINOM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.QNBINOM</function>(<parameter>p</parameter>,<parameter>n</parameter>,<parameter>psuc</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability quantile function, i.e., the inverse of the cumulative distribution function, of the negative binomial distribution.</para>
        <para><parameter>p</parameter>: probability.</para>
        <para><parameter>n</parameter>: the number of trials</para>
        <para><parameter>psuc</parameter>: the probability of success in each trial</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DNBINOM"><function>R.DNBINOM</function></link>,
        <link linkend="gnumeric-R.PNBINOM"><function>R.PNBINOM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.QNORM">
      <refmeta>
        <refentrytitle>
          <function>R.QNORM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.QNORM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.QNORM</function>(<parameter>p</parameter>,<parameter>mu</parameter>,<parameter>sigma</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability quantile function, i.e., the inverse of the cumulative distribution function, of the normal distribution.</para>
        <para><parameter>p</parameter>: probability.</para>
        <para><parameter>mu</parameter>: mean of the distribution.</para>
        <para><parameter>sigma</parameter>: standard deviation of the distribution.</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DNORM"><function>R.DNORM</function></link>,
        <link linkend="gnumeric-R.PNORM"><function>R.PNORM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.QPOIS">
      <refmeta>
        <refentrytitle>
          <function>R.QPOIS</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.QPOIS</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.QPOIS</function>(<parameter>p</parameter>,<parameter>lambda</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability quantile function, i.e., the inverse of the cumulative distribution function, of the Poisson distribution.</para>
        <para><parameter>p</parameter>: probability.</para>
        <para><parameter>lambda</parameter>: the mean of the distribution</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DPOIS"><function>R.DPOIS</function></link>,
        <link linkend="gnumeric-R.PPOIS"><function>R.PPOIS</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.QT">
      <refmeta>
        <refentrytitle>
          <function>R.QT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.QT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.QT</function>(<parameter>p</parameter>,<parameter>n</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability quantile function, i.e., the inverse of the cumulative distribution function, of the Student t distribution.</para>
        <para><parameter>p</parameter>: probability.</para>
        <para><parameter>n</parameter>: the number of degrees of freedom of the distribution</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DT"><function>R.DT</function></link>,
        <link linkend="gnumeric-R.PT"><function>R.PT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-R.QWEIBULL">
      <refmeta>
        <refentrytitle>
          <function>R.QWEIBULL</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>R.QWEIBULL</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>R.QWEIBULL</function>(<parameter>p</parameter>,<parameter>shape</parameter>,<parameter>scale</parameter>,<parameter>lower_tail</parameter>,<parameter>log_p</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>This function returns the probability quantile function, i.e., the inverse of the cumulative distribution function, of the Weibull distribution.</para>
        <para><parameter>p</parameter>: probability.</para>
        <para><parameter>shape</parameter>: the shape parameter of the distribution</para>
        <para><parameter>scale</parameter>: the scale parameter of the distribution</para>
        <para><parameter>lower_tail</parameter>: if true (the default), the lower tail of the distribution is considered.</para>
        <para><parameter>log_p</parameter>: if true, log of the probability is used.  This is useful if the probability would otherwise underflow to 0.  Defaults to false.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-R.DWEIBULL"><function>R.DWEIBULL</function></link>,
        <link linkend="gnumeric-R.PWEIBULL"><function>R.PWEIBULL</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RANK">
      <refmeta>
        <refentrytitle>
          <function>RANK</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RANK</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RANK</function>(<parameter>x</parameter>,<parameter>ref</parameter>[,<parameter>order</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RANK</function> returns the rank of a number in a list of numbers.  <parameter>x</parameter> is the number whose rank you want to find, <parameter>ref</parameter> is the list of numbers, and <parameter>order</parameter> specifies how to rank numbers.  If <parameter>order</parameter> is 0, numbers are ranked in descending order, otherwise numbers are ranked in ascending order.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1.  Then</para>
        <para><function>RANK</function>(17.3,A1:A5) equals 4.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-PERCENTRANK"><function>PERCENTRANK</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RAYLEIGH">
      <refmeta>
        <refentrytitle>
          <function>RAYLEIGH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RAYLEIGH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RAYLEIGH</function>(<parameter>x</parameter>,<parameter>sigma</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RAYLEIGH</function> returns the probability density p(x) at <parameter>x</parameter> for a Rayleigh distribution with scale parameter <parameter>sigma</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RAYLEIGH</function>(0.4,1).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RANDRAYLEIGH"><function>RANDRAYLEIGH</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RAYLEIGHTAIL">
      <refmeta>
        <refentrytitle>
          <function>RAYLEIGHTAIL</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RAYLEIGHTAIL</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RAYLEIGHTAIL</function>(<parameter>x</parameter>,<parameter>a</parameter>,<parameter>sigma</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RAYLEIGHTAIL</function> returns the probability density p(x) at <parameter>x</parameter> for a Rayleigh tail distribution with scale parameter <parameter>sigma</parameter> and lower limit <parameter>a</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RAYLEIGHTAIL</function>(0.6,0.3,1).</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-RANDRAYLEIGHTAIL"><function>RANDRAYLEIGHTAIL</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RSQ">
      <refmeta>
        <refentrytitle>
          <function>RSQ</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RSQ</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RSQ</function>(<parameter>array1</parameter>,<parameter>array2</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RSQ</function> returns the square of the Pearson correlation coefficient of two data sets.</para>
        <itemizedlist>
          <listitem>
            <para>Strings and empty cells are simply ignored.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-CORREL"><function>CORREL</function></link>,
        <link linkend="gnumeric-COVAR"><function>COVAR</function></link>,
        <link linkend="gnumeric-INTERCEPT"><function>INTERCEPT</function></link>,
        <link linkend="gnumeric-LINEST"><function>LINEST</function></link>,
        <link linkend="gnumeric-LOGEST"><function>LOGEST</function></link>,
        <link linkend="gnumeric-PEARSON"><function>PEARSON</function></link>,
        <link linkend="gnumeric-SLOPE"><function>SLOPE</function></link>,
        <link linkend="gnumeric-STEYX"><function>STEYX</function></link>,
        <link linkend="gnumeric-TREND"><function>TREND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-SKEW">
      <refmeta>
        <refentrytitle>
          <function>SKEW</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>SKEW</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>SKEW</function>(<parameter>n1</parameter>,<parameter/> n2,<parameter/> ...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>SKEW</function> returns an unbiased estimate for skewness of a distribution.</para>
        <para>Note, that this is only meaningful if the underlying distribution really has a third moment.  The skewness of a symmetric (e.g., normal) distribution is zero.</para>
        <itemizedlist>
          <listitem>
            <para>Strings and empty cells are simply ignored.</para>
          </listitem>
          <listitem>
            <para>If less than three numbers are given, <function>SKEW</function> returns #DIV/0! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1.  Then</para>
        <para><function>SKEW</function>(A1:A5) equals 0.976798268.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-AVERAGE"><function>AVERAGE</function></link>,
        <link linkend="gnumeric-VAR"><function>VAR</function></link>,
        <link linkend="gnumeric-SKEWP"><function>SKEWP</function></link>,
        <link linkend="gnumeric-KURT"><function>KURT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-SKEWP">
      <refmeta>
        <refentrytitle>
          <function>SKEWP</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>SKEWP</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>SKEWP</function>(<parameter>n1</parameter>,<parameter/> n2,<parameter/> ...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>SKEWP</function> returns the population skewness of a data set.</para>
        <itemizedlist>
          <listitem>
            <para>Strings and empty cells are simply ignored.</para>
          </listitem>
          <listitem>
            <para>If less than two numbers are given, <function>SKEWP</function> returns #DIV/0! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1.  Then</para>
        <para><function>SKEWP</function>(A1:A5) equals 0.655256198.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-AVERAGE"><function>AVERAGE</function></link>,
        <link linkend="gnumeric-VARP"><function>VARP</function></link>,
        <link linkend="gnumeric-SKEW"><function>SKEW</function></link>,
        <link linkend="gnumeric-KURTP"><function>KURTP</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-SLOPE">
      <refmeta>
        <refentrytitle>
          <function>SLOPE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>SLOPE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>SLOPE</function>(<parameter>known_y</parameter>'s,<parameter>known_x</parameter>'s)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>SLOPE</function> returns the slope of the linear regression line.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1, and the cells B1, B2, ... B5 23.2, 25.8, 29.9, 33.5, and 42.7.  Then</para>
        <para><function>SLOPE</function>(A1:A5,B1:B5) equals 1.417959936.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-STDEV"><function>STDEV</function></link>,
        <link linkend="gnumeric-STDEVPA"><function>STDEVPA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-SMALL">
      <refmeta>
        <refentrytitle>
          <function>SMALL</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>SMALL</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>SMALL</function>(<parameter>n</parameter>,<parameter/> k)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>SMALL</function> returns the k-th smallest value in a data set.</para>
        <itemizedlist>
          <listitem>
            <para>If data set is empty <function>SMALL</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>k</parameter> &lt;= 0 or <parameter>k</parameter> is greater than the number of data items given <function>SMALL</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1.  Then</para>
        <para><function>SMALL</function>(A1:A5,2) equals 17.3.</para>
        <para><function>SMALL</function>(A1:A5,4) equals 25.9.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-PERCENTILE"><function>PERCENTILE</function></link>,
        <link linkend="gnumeric-PERCENTRANK"><function>PERCENTRANK</function></link>,
        <link linkend="gnumeric-QUARTILE"><function>QUARTILE</function></link>,
        <link linkend="gnumeric-LARGE"><function>LARGE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-SSMEDIAN">
      <refmeta>
        <refentrytitle>
          <function>SSMEDIAN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>SSMEDIAN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>SSMEDIAN</function>(<parameter>array</parameter>[,<parameter>interval</parameter>)]</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para>The <function>SSMEDIAN</function> function returns the median for grouped data as commonly determined in the social sciences. The data points given in <parameter>array</parameter> are assumed to be the result of grouping data into intervals of length <parameter>interval</parameter></para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>interval</parameter> is not given, <function>SSMEDIAN</function> uses 1.</para>
          </listitem>
          <listitem>
            <para>If <parameter>array</parameter> is empty, <function>SSMEDIAN</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>interval</parameter> &lt;= 0, <function>SSMEDIAN</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para><function>SSMEDIAN</function> does not check whether the data points are at least <parameter>interval</parameter> apart.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, A3 contain numbers 7, 8, 8.  Then</para>
        <para><function>SSMEDIAN</function>(A1:A3, 1) equals 7.75.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-MEDIAN"><function>MEDIAN</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-STANDARDIZE">
      <refmeta>
        <refentrytitle>
          <function>STANDARDIZE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>STANDARDIZE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>STANDARDIZE</function>(<parameter>x</parameter>,<parameter>mean</parameter>,<parameter>stddev</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>STANDARDIZE</function> function returns a normalized value. <parameter>x</parameter> is the number to be normalized, <parameter>mean</parameter> is the mean of the distribution, <parameter>stddev</parameter> is the standard deviation of the distribution.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>stddev</parameter> is 0 <function>STANDARDIZE</function> returns #DIV/0! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>STANDARDIZE</function>(3,2,4) equals 0.25.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-AVERAGE"><function>AVERAGE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-STDEV">
      <refmeta>
        <refentrytitle>
          <function>STDEV</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>STDEV</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>STDEV</function>(<parameter>b1</parameter>,<parameter/> b2,<parameter/> ...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>STDEV</function> returns the sample standard deviation of the given sample.</para>
        <para>To obtain the population standard deviation of a whole population use STDEVP.</para>
        <para><function>STDEV</function> is also known as the N-1-standard deviation.</para>
        <para>Under reasonable conditions, it is the maximum-likelihood estimator for the true population standard deviation.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1.  Then</para>
        <para><function>STDEV</function>(A1:A5) equals 10.84619749.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-AVERAGE"><function>AVERAGE</function></link>,
        <link linkend="gnumeric-DSTDEV"><function>DSTDEV</function></link>,
        <link linkend="gnumeric-DSTDEVP"><function>DSTDEVP</function></link>,
        <link linkend="gnumeric-STDEVA"><function>STDEVA</function></link>,
        <link linkend="gnumeric-STDEVPA"><function>STDEVPA</function></link>,
        <link linkend="gnumeric-VAR"><function>VAR</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-STDEVA">
      <refmeta>
        <refentrytitle>
          <function>STDEVA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>STDEVA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>STDEVA</function>(<parameter>number1</parameter>,<parameter>number2</parameter>,<parameter/>...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>STDEVA</function> returns the sample standard deviation of the given sample.</para>
        <para>To obtain the population standard deviation of a whole population use STDEVPA.</para>
        <para><function>STDEVA</function> is also known as the N-1-standard deviation.</para>
        <para>Under reasonable conditions, it is the maximum-likelihood estimator for the true population standard deviation.</para>
        <para>Numbers, text and logical values are included in the calculation too.  If the cell contains text or the argument evaluates to FALSE, it is counted as value zero (0).  If the argument evaluates to TRUE, it is counted as one (1).  Note that empty cells are not counted.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers and strings 11.4, 17.3, "missing", 25.9, and 40.1.  Then</para>
        <para><function>STDEVA</function>(A1:A5) equals 15.119953704.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-STDEV"><function>STDEV</function></link>,
        <link linkend="gnumeric-STDEVPA"><function>STDEVPA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-STDEVP">
      <refmeta>
        <refentrytitle>
          <function>STDEVP</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>STDEVP</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>STDEVP</function>(<parameter>b1</parameter>,<parameter/> b2,<parameter/> ...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>STDEVP</function> returns the population standard deviation of the given population.</para>
        <para>This is also known as the N-standard deviation</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1.  Then</para>
        <para><function>STDEVP</function>(A1:A5) equals 9.701133954.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-STDEV"><function>STDEV</function></link>,
        <link linkend="gnumeric-STDEVA"><function>STDEVA</function></link>,
        <link linkend="gnumeric-STDEVPA"><function>STDEVPA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-STDEVPA">
      <refmeta>
        <refentrytitle>
          <function>STDEVPA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>STDEVPA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>STDEVPA</function>(<parameter>number1</parameter>,<parameter>number2</parameter>,<parameter/>...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>STDEVPA</function> returns the population standard deviation of an entire population.</para>
        <para>This is also known as the N-standard deviation</para>
        <para>Numbers, text and logical values are included in the calculation too.  If the cell contains text or the argument evaluates to FALSE, it is counted as value zero (0).  If the argument evaluates to TRUE, it is counted as one (1).  Note that empty cells are not counted.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers and strings 11.4, 17.3, "missing", 25.9, and 40.1.  Then</para>
        <para><function>STDEVPA</function>(A1:A5) equals 13.523697719.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-STDEVA"><function>STDEVA</function></link>,
        <link linkend="gnumeric-STDEVP"><function>STDEVP</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-STEYX">
      <refmeta>
        <refentrytitle>
          <function>STEYX</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>STEYX</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>STEYX</function>(<parameter>known_y</parameter>'s,<parameter>known_x</parameter>'s)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>STEYX</function> function returns the standard error of the predicted y-value for each x in the regression.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>known_y</parameter>'s and <parameter>known_x</parameter>'s are empty or have a different number of arguments then <function>STEYX</function> returns #N/A error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1, and the cells B1, B2, ... B5 23.2, 25.8, 29.9, 33.5, and 42.7.  Then</para>
        <para><function>STEYX</function>(A1:A5,B1:B5) equals 1.101509979.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-PEARSON"><function>PEARSON</function></link>,
        <link linkend="gnumeric-RSQ"><function>RSQ</function></link>,
        <link linkend="gnumeric-SLOPE"><function>SLOPE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-SUBTOTAL">
      <refmeta>
        <refentrytitle>
          <function>SUBTOTAL</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>SUBTOTAL</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>SUBTOTAL</function>(<parameter>function_nbr</parameter>,<parameter>ref1</parameter>,<parameter>ref2</parameter>,<parameter/>...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>SUBTOTAL</function> function returns a subtotal of given list of arguments. <parameter>function_nbr</parameter> is the number that specifies which function to use in calculating the subtotal.</para>
        <para>The following functions are available:</para>
        <para>	1   AVERAGE</para>
        <para>	2   COUNT</para>
        <para>	3   COUNTA</para>
        <para>	4   MAX</para>
        <para>	5   MIN</para>
        <para>	6   PRODUCT</para>
        <para>	7   STDEV</para>
        <para>	8   STDEVP</para>
        <para>	9   SUM</para>
        <para>	10   VAR</para>
        <para>	11   VARP</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 23, 27, 28, 33, and 39.  Then</para>
        <para><function>SUBTOTAL</function>(1,A1:A5) equals 30.</para>
        <para><function>SUBTOTAL</function>(6,A1:A5) equals 22378356.</para>
        <para><function>SUBTOTAL</function>(7,A1:A5) equals 6.164414003.</para>
        <para><function>SUBTOTAL</function>(9,A1:A5) equals 150.</para>
        <para><function>SUBTOTAL</function>(11,A1:A5) equals 30.4.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-COUNT"><function>COUNT</function></link>,
        <link linkend="gnumeric-SUM"><function>SUM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-TDIST">
      <refmeta>
        <refentrytitle>
          <function>TDIST</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>TDIST</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>TDIST</function>(<parameter>x</parameter>,<parameter>dof</parameter>,<parameter>tails</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>TDIST</function> function returns the Student's t-distribution. <parameter>dof</parameter> is the degree of freedom and <parameter>tails</parameter> is 1 or 2 depending on whether you want one-tailed or two-tailed distribution.</para>
        <para><parameter>tails</parameter> = 1 returns the size of the right tail.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>dof</parameter> &lt; 1 <function>TDIST</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>tails</parameter> is neither 1 or 2 <function>TDIST</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible for non-negative <parameter>x</parameter>.</para>
          </listitem>
        </itemizedlist>
        <para>Warning: the parameterization of this function is different from what is used for, e.g., NORMSDIST.  This is a common source of mistakes, but necessary for compatibility.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>TDIST</function>(2,5,1) equals 0.050969739.</para>
        <para><function>TDIST</function>(-2,5,1) equals 0.949030261.</para>
        <para><function>TDIST</function>(0,5,2) equals 1.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-TINV"><function>TINV</function></link>,
        <link linkend="gnumeric-TTEST"><function>TTEST</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-TINV">
      <refmeta>
        <refentrytitle>
          <function>TINV</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>TINV</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>TINV</function>(<parameter>p</parameter>,<parameter>dof</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>TINV</function> function returns the inverse of the two-tailed Student's t-distribution.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>p</parameter> &lt; 0 or <parameter>p</parameter> &gt; 1 or <parameter>dof</parameter> &lt; 1 <function>TINV</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
        <para>Warning: the parameterization of this function is different from what is used for, e.g., NORMSINV.  This is a common source of mistakes, but necessary for compatibility.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>TINV</function>(0.4,32) equals 0.852998454.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-TDIST"><function>TDIST</function></link>,
        <link linkend="gnumeric-TTEST"><function>TTEST</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-TREND">
      <refmeta>
        <refentrytitle>
          <function>TREND</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>TREND</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>TREND</function>(<parameter>known_y</parameter>'s[,<parameter>known_x</parameter>'s[,<parameter>new_x</parameter>'s[,<parameter>const</parameter>]]])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>TREND</function> function estimates future values of a given data set using the ``least squares'' line that best fit to your data. <parameter>known_y</parameter>'s is the y-values where y=mx+b and <parameter>known_x</parameter>'s contains the corresponding x-values.  <parameter>new_x</parameter>'s contains the x-values for which you want to estimate the y-values. If <parameter>const</parameter> is FALSE, the line will be forced to go through the origin, i.e., b will be zero.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>known_x</parameter>'s is omitted, an array {1, 2, 3, ...} is used.</para>
          </listitem>
          <listitem>
            <para>If <parameter>new_x</parameter>'s is omitted, it is assumed to be the same as <parameter>known_x</parameter>'s.</para>
          </listitem>
          <listitem>
            <para>If <parameter>const</parameter> is omitted, it is assumed to be TRUE.</para>
          </listitem>
          <listitem>
            <para>If <parameter>known_y</parameter>'s and <parameter>known_x</parameter>'s have unequal number of data points, <function>TREND</function> returns #NUM! error.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1, and the cells B1, B2, ... B5 23.2, 25.8, 29.9, 33.5, and 42.7.  Then</para>
        <para><function>TREND</function>(A1:A5,B1:B5) equals {12.1, 15.7, 21.6, 26.7, 39.7}.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-LINEST"><function>LINEST</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-TRIMMEAN">
      <refmeta>
        <refentrytitle>
          <function>TRIMMEAN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>TRIMMEAN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>TRIMMEAN</function>(<parameter>ref</parameter>,<parameter>fraction</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>TRIMMEAN</function> returns the mean of the interior of a data set. <parameter>ref</parameter> is the list of numbers whose mean you want to calculate and <parameter>fraction</parameter> is the fraction of the data set excluded from the mean. For example, if <parameter>fraction</parameter>=0.2 and the data set contains 40 numbers, 8 numbers are trimmed from the data set (40 x 0.2): the 4 largest and the 4 smallest.  To avoid a bias, the number of points to be excluded is always rounded down to the nearest even number.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1.  Then</para>
        <para><function>TRIMMEAN</function>(A1:A5,0.2) equals 23.2.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-AVERAGE"><function>AVERAGE</function></link>,
        <link linkend="gnumeric-GEOMEAN"><function>GEOMEAN</function></link>,
        <link linkend="gnumeric-HARMEAN"><function>HARMEAN</function></link>,
        <link linkend="gnumeric-MEDIAN"><function>MEDIAN</function></link>,
        <link linkend="gnumeric-MODE"><function>MODE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-TTEST">
      <refmeta>
        <refentrytitle>
          <function>TTEST</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>TTEST</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>TTEST</function>(<parameter>array1</parameter>,<parameter>array2</parameter>,<parameter>tails</parameter>,<parameter>type</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>TTEST</function> function returns the probability of a Student's t-Test.</para>
        <para><parameter>array1</parameter> is the first data set and <parameter>array2</parameter> is the second data set.  If <parameter>tails</parameter> is one, <function>TTEST</function> uses the one-tailed distribution and if <parameter>tails</parameter> is two, <function>TTEST</function> uses the two-tailed distribution.  <parameter>type</parameter> determines the kind of the test:</para>
        <para>	1  Paired test</para>
        <para>	2  Two-sample equal variance</para>
        <para>	3  Two-sample unequal variance</para>
        <itemizedlist>
          <listitem>
            <para>If the data sets contain a different number of data points and the test is paired (<parameter>type</parameter> one), <function>TTEST</function> returns the #N/A error.</para>
          </listitem>
          <listitem>
            <para><parameter>tails</parameter> and <parameter>type</parameter> are truncated to integers.</para>
          </listitem>
          <listitem>
            <para>If <parameter>tails</parameter> is not one or two, <function>TTEST</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>type</parameter> is any other than one, two, or three, <function>TTEST</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1, and the cells B1, B2, ... B5 23.2, 25.8, 29.9, 33.5, and 42.7.  Then</para>
        <para><function>TTEST</function>(A1:A5,B1:B5,1,1) equals 0.003127619.</para>
        <para><function>TTEST</function>(A1:A5,B1:B5,2,1) equals 0.006255239.</para>
        <para><function>TTEST</function>(A1:A5,B1:B5,1,2) equals 0.111804322.</para>
        <para><function>TTEST</function>(A1:A5,B1:B5,1,3) equals 0.113821797.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-FDIST"><function>FDIST</function></link>,
        <link linkend="gnumeric-FINV"><function>FINV</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-VAR">
      <refmeta>
        <refentrytitle>
          <function>VAR</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>VAR</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>VAR</function>(<parameter>b1</parameter>,<parameter/> b2,<parameter/> ...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>VAR</function> calculates sample variance of the given sample. To get the true variance of a complete population use VARP.</para>
        <para><function>VAR</function> is also known as the N-1-variance. Under reasonable conditions, it is the maximum-likelihood estimator for the true variance.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1.  Then</para>
        <para><function>VAR</function>(A1:A5) equals 117.64.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-VARP"><function>VARP</function></link>,
        <link linkend="gnumeric-STDEV"><function>STDEV</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-VARA">
      <refmeta>
        <refentrytitle>
          <function>VARA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>VARA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>VARA</function>(<parameter>number1</parameter>,<parameter>number2</parameter>,<parameter/>...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>VARA</function> calculates sample variance of the given sample.</para>
        <para>To get the true variance of a complete population use VARPA.</para>
        <para><function>VARA</function> is also known as the N-1-variance.</para>
        <para>Under reasonable conditions, it is the maximum-likelihood estimator for the true variance.</para>
        <para>Numbers, text and logical values are included in the calculation too. If the cell contains text or the argument evaluates to FALSE, it is counted as value zero (0).  If the argument evaluates to TRUE, it is counted as one (1).  Note that empty cells are not counted.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers and strings 11.4, 17.3, "missing", 25.9, and 40.1.  Then</para>
        <para><function>VARA</function>(A1:A5) equals 228.613.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-VAR"><function>VAR</function></link>,
        <link linkend="gnumeric-VARPA"><function>VARPA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-VARP">
      <refmeta>
        <refentrytitle>
          <function>VARP</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>VARP</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>VARP</function>(<parameter>b1</parameter>,<parameter/> b2,<parameter/> ...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>VARP</function> calculates the variance of an entire population.</para>
        <para><function>VARP</function> is also known as the N-variance.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1.  Then</para>
        <para><function>VARP</function>(A1:A5) equals 94.112.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-AVERAGE"><function>AVERAGE</function></link>,
        <link linkend="gnumeric-DVAR"><function>DVAR</function></link>,
        <link linkend="gnumeric-DVARP"><function>DVARP</function></link>,
        <link linkend="gnumeric-STDEV"><function>STDEV</function></link>,
        <link linkend="gnumeric-VAR"><function>VAR</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-VARPA">
      <refmeta>
        <refentrytitle>
          <function>VARPA</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>VARPA</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>VARPA</function>(<parameter>number1</parameter>,<parameter>number2</parameter>,<parameter/>...)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>VARPA</function> calculates the variance of an entire population.</para>
        <para><function>VARPA</function> is also known as the N-variance.</para>
        <para>Numbers, text and logical values are included in the calculation too.  If the cell contains text or the argument evaluates to FALSE, it is counted as value zero (0).  If the argument evaluates to TRUE, it is counted as one (1).  Note that empty cells are not counted.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers and strings 11.4, 17.3, "missing", 25.9, and 40.1.  Then</para>
        <para><function>VARPA</function>(A1:A5) equals 182.8904.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-VARA"><function>VARA</function></link>,
        <link linkend="gnumeric-VARP"><function>VARP</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-WEIBULL">
      <refmeta>
        <refentrytitle>
          <function>WEIBULL</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>WEIBULL</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>WEIBULL</function>(<parameter>x</parameter>,<parameter>alpha</parameter>,<parameter>beta</parameter>,<parameter>cumulative</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>WEIBULL</function> function returns the Weibull distribution. If the <parameter>cumulative</parameter> boolean is true it will return:</para>
        <para>	1 - exp (-(<parameter>x</parameter>/<parameter>beta</parameter>)^<parameter>alpha</parameter>),</para>
        <para>otherwise it will return</para>
        <para>	(<parameter>alpha</parameter>/<parameter>beta</parameter>^<parameter>alpha</parameter>) * <parameter>x</parameter>^(<parameter>alpha</parameter>-1) * exp(-(<parameter>x</parameter>/<parameter>beta</parameter>^<parameter>alpha</parameter>)).</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>x</parameter> &lt; 0 <function>WEIBULL</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>alpha</parameter> &lt;= 0 or <parameter>beta</parameter> &lt;= 0 <function>WEIBULL</function> returns #NUM! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>WEIBULL</function>(3,2,4,0) equals 0.213668559.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-POISSON"><function>POISSON</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-ZTEST">
      <refmeta>
        <refentrytitle>
          <function>ZTEST</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ZTEST</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ZTEST</function>(<parameter>ref</parameter>,<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ZTEST</function> returns the two-tailed probability of a z-test.</para>
        <para><parameter>ref</parameter> is the data set and <parameter>x</parameter> is the value to be tested.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>ref</parameter> contains less than two data items <function>ZTEST</function> returns #DIV/0! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1.  Then</para>
        <para><function>ZTEST</function>(A1:A5,20) equals 0.254717826.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-CONFIDENCE"><function>CONFIDENCE</function></link>,
        <link linkend="gnumeric-NORMDIST"><function>NORMDIST</function></link>,
        <link linkend="gnumeric-NORMINV"><function>NORMINV</function></link>,
        <link linkend="gnumeric-NORMSDIST"><function>NORMSDIST</function></link>,
        <link linkend="gnumeric-NORMSINV"><function>NORMSINV</function></link>,
        <link linkend="gnumeric-STANDARDIZE"><function>STANDARDIZE</function></link>.
      </para>
      </refsect1>
    </refentry>
  </sect1>
  <sect1 id="CATEGORY_String">
    <title>String</title>
    <refentry id="gnumeric-ASC">
      <refmeta>
        <refentrytitle>
          <function>ASC</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>ASC</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>ASC</function>(<parameter>string</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>ASC</function> a compatibility function that is meaningless in Gnumeric.  In MS Excel (tm) it converts 2 byte <parameter>string</parameter> into single byte text.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para>CHAR("Foo") equals "Foo".</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-CHAR">
      <refmeta>
        <refentrytitle>
          <function>CHAR</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>CHAR</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>CHAR</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>CHAR</function> returns the ASCII character represented by the number <parameter>x</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>CHAR</function>(65) equals A.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-CODE"><function>CODE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-CLEAN">
      <refmeta>
        <refentrytitle>
          <function>CLEAN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>CLEAN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>CLEAN</function>(<parameter>string</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>CLEAN</function> removes any non-printable characters from <parameter>string</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>CLEAN</function>("one"\&amp;char(7)) equals "one".</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para>
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-CODE">
      <refmeta>
        <refentrytitle>
          <function>CODE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>CODE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>CODE</function>(<parameter>char</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>CODE</function> returns the ASCII number for the character <parameter>char</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>CODE</function>("A") equals 65.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-CHAR"><function>CHAR</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-CONCATENATE">
      <refmeta>
        <refentrytitle>
          <function>CONCATENATE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>CONCATENATE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>CONCATENATE</function>(<parameter>string1</parameter>[,<parameter>string2</parameter>...])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>CONCATENATE</function> returns the string obtained by concatenation of the given strings.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>CONCATENATE</function>("aa","bb") equals "aabb".</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-LEFT"><function>LEFT</function></link>,
        <link linkend="gnumeric-MID"><function>MID</function></link>,
        <link linkend="gnumeric-RIGHT"><function>RIGHT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-DOLLAR">
      <refmeta>
        <refentrytitle>
          <function>DOLLAR</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>DOLLAR</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>DOLLAR</function>(<parameter>num</parameter>[,<parameter>decimals</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>DOLLAR</function> returns <parameter>num</parameter> formatted as currency.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>DOLLAR</function>(12345) equals "$12,345.00".</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-FIXED"><function>FIXED</function></link>,
        <link linkend="gnumeric-TEXT"><function>TEXT</function></link>,
        <link linkend="gnumeric-VALUE"><function>VALUE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-EXACT">
      <refmeta>
        <refentrytitle>
          <function>EXACT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>EXACT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>EXACT</function>(<parameter>string1</parameter>,<parameter/> string2)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>EXACT</function> returns true if <parameter>string1</parameter> is exactly equal to <parameter>string2</parameter> (this routine is case sensitive).</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>EXACT</function>("key","key") equals TRUE.</para>
        <para><function>EXACT</function>("key","Key") equals FALSE.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-LEN"><function>LEN</function></link>,
        <link linkend="gnumeric-SEARCH"><function>SEARCH</function></link>,
        <link linkend="gnumeric-DELTA"><function>DELTA</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-FIND">
      <refmeta>
        <refentrytitle>
          <function>FIND</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>FIND</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>FIND</function>(<parameter>string1</parameter>,<parameter>string2</parameter>[,<parameter>start</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>FIND</function> returns position of <parameter>string1</parameter> in <parameter>string2</parameter> (case-sensitive), searching only from character <parameter>start</parameter> onwards (assuming 1 if omitted).</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>FIND</function>("ac","Jack") equals 2.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-EXACT"><function>EXACT</function></link>,
        <link linkend="gnumeric-LEN"><function>LEN</function></link>,
        <link linkend="gnumeric-MID"><function>MID</function></link>,
        <link linkend="gnumeric-SEARCH"><function>SEARCH</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-FIXED">
      <refmeta>
        <refentrytitle>
          <function>FIXED</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>FIXED</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>FIXED</function>(<parameter>num</parameter>,<parameter/>[decimals,<parameter/> no_commas])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>FIXED</function> returns <parameter>num</parameter> as a formatted string with <parameter>decimals</parameter> numbers after the decimal point, omitting commas if requested by <parameter>no_commas</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>FIXED</function>(1234.567,2) equals "1,234.57".</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-TEXT"><function>TEXT</function></link>,
        <link linkend="gnumeric-VALUE"><function>VALUE</function></link>,
        <link linkend="gnumeric-DOLLAR"><function>DOLLAR</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-LEFT">
      <refmeta>
        <refentrytitle>
          <function>LEFT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>LEFT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>LEFT</function>(<parameter>text</parameter>[,<parameter>num_chars</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>LEFT</function> returns the leftmost <parameter>num_chars</parameter> characters or the left character if <parameter>num_chars</parameter> is not specified.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>LEFT</function>("Directory",3) equals "Dir".</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-MID"><function>MID</function></link>,
        <link linkend="gnumeric-RIGHT"><function>RIGHT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-LEN">
      <refmeta>
        <refentrytitle>
          <function>LEN</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>LEN</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>LEN</function>(<parameter>string</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>LEN</function> returns the length in characters of the string <parameter>string</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>LEN</function>("Helsinki") equals 8.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-CHAR"><function>CHAR</function></link>,
        <link linkend="gnumeric-CODE"><function>CODE</function></link>,
        <link linkend="gnumeric-LENB"><function>LENB</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-LENB">
      <refmeta>
        <refentrytitle>
          <function>LENB</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>LENB</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>LENB</function>(<parameter>string</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>LENB</function> returns the length in bytes of the string <parameter>string</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>LENB</function>("Helsinki") equals 8.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-CHAR"><function>CHAR</function></link>,
        <link linkend="gnumeric-CODE"><function>CODE</function></link>,
        <link linkend="gnumeric-LEN"><function>LEN</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-LOWER">
      <refmeta>
        <refentrytitle>
          <function>LOWER</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>LOWER</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>LOWER</function>(<parameter>text</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>LOWER</function> returns a lower-case version of the string in <parameter>text</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>LOWER</function>("J. F. Kennedy") equals "j. f. kennedy".</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-UPPER"><function>UPPER</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-MID">
      <refmeta>
        <refentrytitle>
          <function>MID</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>MID</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>MID</function>(<parameter>string</parameter>,<parameter/> position,<parameter/> length)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>MID</function> returns a substring from <parameter>string</parameter> starting at <parameter>position</parameter> for <parameter>length</parameter> characters.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>MID</function>("testing",2,3) equals "est".</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-LEFT"><function>LEFT</function></link>,
        <link linkend="gnumeric-RIGHT"><function>RIGHT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-PROPER">
      <refmeta>
        <refentrytitle>
          <function>PROPER</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>PROPER</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>PROPER</function>(<parameter>string</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>PROPER</function> returns <parameter>string</parameter> with initial of each word capitalised.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>PROPER</function>("j. f. kennedy") equals "J. F. Kennedy".</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-LOWER"><function>LOWER</function></link>,
        <link linkend="gnumeric-UPPER"><function>UPPER</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-REPLACE">
      <refmeta>
        <refentrytitle>
          <function>REPLACE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>REPLACE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>REPLACE</function>(<parameter>old</parameter>,<parameter>start</parameter>,<parameter>num</parameter>,<parameter>new</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>REPLACE</function> returns <parameter>old</parameter> with <parameter>new</parameter> replacing <parameter>num</parameter> characters from <parameter>start</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>REPLACE</function>("testing",2,3,"*****") equals "t*****ing".</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-MID"><function>MID</function></link>,
        <link linkend="gnumeric-SEARCH"><function>SEARCH</function></link>,
        <link linkend="gnumeric-SUBSTITUTE"><function>SUBSTITUTE</function></link>,
        <link linkend="gnumeric-TRIM"><function>TRIM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-REPT">
      <refmeta>
        <refentrytitle>
          <function>REPT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>REPT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>REPT</function>(<parameter>string</parameter>,<parameter>num</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>REPT</function> returns <parameter>num</parameter> repetitions of <parameter>string</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>REPT</function>(".",3) equals "...".</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-CONCATENATE"><function>CONCATENATE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-RIGHT">
      <refmeta>
        <refentrytitle>
          <function>RIGHT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>RIGHT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>RIGHT</function>(<parameter>text</parameter>[,<parameter>num_chars</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>RIGHT</function> returns the rightmost <parameter>num_chars</parameter> characters or the right character if <parameter>num_chars</parameter> is not specified.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>RIGHT</function>("end") equals "d".</para>
        <para><function>RIGHT</function>("end",2) equals "nd".</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-MID"><function>MID</function></link>,
        <link linkend="gnumeric-LEFT"><function>LEFT</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-SEARCH">
      <refmeta>
        <refentrytitle>
          <function>SEARCH</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>SEARCH</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>SEARCH</function>(<parameter>search_string</parameter>,<parameter>text</parameter>[,<parameter>start_num</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>SEARCH</function> returns the location of the <parameter>search_</parameter> string within <parameter>text</parameter>. The search starts  with the <parameter>start_num</parameter> character of text <parameter>text</parameter>.  If <parameter>start_num</parameter> is omitted, it is assumed to be one.  The search is not case sensitive.</para>
        <para><parameter>search_string</parameter> can contain wildcard characters (*) and question marks (?). A question mark matches any character and a wildcard matches any string including the empty string.  If you want the actual wildcard or question mark to be found, use tilde (~) before the character.</para>
        <itemizedlist>
          <listitem>
            <para>If <parameter>search_string</parameter> is not found, <function>SEARCH</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>If <parameter>start_num</parameter> is less than one or it is greater than the length of <parameter>text</parameter>, <function>SEARCH</function> returns #VALUE! error.</para>
          </listitem>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>SEARCH</function>("c","Cancel") equals 1.</para>
        <para><function>SEARCH</function>("c","Cancel",2) equals 4.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-FIND"><function>FIND</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-SUBSTITUTE">
      <refmeta>
        <refentrytitle>
          <function>SUBSTITUTE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>SUBSTITUTE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>SUBSTITUTE</function>(<parameter>text</parameter>,<parameter/> old,<parameter/> new [,<parameter>num</parameter>])</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>SUBSTITUTE</function> replaces <parameter>old</parameter> with <parameter>new</parameter> in <parameter>text</parameter>.  Substitutions are only applied to instance <parameter>num</parameter> of <parameter>old</parameter> in <parameter>text</parameter>, otherwise every one is changed.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>SUBSTITUTE</function>("testing","test","wait") equals "waiting".</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-REPLACE"><function>REPLACE</function></link>,
        <link linkend="gnumeric-TRIM"><function>TRIM</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-T">
      <refmeta>
        <refentrytitle>
          <function>T</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>T</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>T</function>(<parameter>value</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>T</function> returns <parameter>value</parameter> if and only if it is text, otherwise a blank string.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>T</function>("text") equals "text".</para>
        <para><function>T</function>(64) returns an empty cell.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-CELL"><function>CELL</function></link>,
        <link linkend="gnumeric-N"><function>N</function></link>,
        <link linkend="gnumeric-VALUE"><function>VALUE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-TEXT">
      <refmeta>
        <refentrytitle>
          <function>TEXT</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>TEXT</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>TEXT</function>(<parameter>value</parameter>,<parameter>format_text</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>TEXT</function> returns <parameter>value</parameter> as a string with the specified format.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>TEXT</function>(3.223,"$0.00") equals "$3.22".</para>
        <para><function>TEXT</function>(date(1999,4,15),"mmmm, dd, yy") equals "April, 15, 99".</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DOLLAR"><function>DOLLAR</function></link>,
        <link linkend="gnumeric-FIXED"><function>FIXED</function></link>,
        <link linkend="gnumeric-VALUE"><function>VALUE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-TRIM">
      <refmeta>
        <refentrytitle>
          <function>TRIM</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>TRIM</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>TRIM</function>(<parameter>text</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>TRIM</function> returns <parameter>text</parameter> with only single spaces between words.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>TRIM</function>("  a bbb  cc") equals "a bbb cc".</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-CLEAN"><function>CLEAN</function></link>,
        <link linkend="gnumeric-MID"><function>MID</function></link>,
        <link linkend="gnumeric-REPLACE"><function>REPLACE</function></link>,
        <link linkend="gnumeric-SUBSTITUTE"><function>SUBSTITUTE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-UNICHAR">
      <refmeta>
        <refentrytitle>
          <function>UNICHAR</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>UNICHAR</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>UNICHAR</function>(<parameter>x</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>UNICHAR</function> returns the Unicode character represented by the number <parameter>x</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>UNICHAR</function>(65) equals A.</para>
        <para><function>UNICHAR</function>(960) equals a small Greek pi.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-CHAR"><function>CHAR</function></link>,
        <link linkend="gnumeric-UNICODE"><function>UNICODE</function></link>,
        <link linkend="gnumeric-CODE"><function>CODE</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-UNICODE">
      <refmeta>
        <refentrytitle>
          <function>UNICODE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>UNICODE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>UNICODE</function>(<parameter>char</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>UNICODE</function> returns the Unicode number for the character <parameter>char</parameter>.</para>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>UNICODE</function>("A") equals 65.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-UNICHAR"><function>UNICHAR</function></link>,
        <link linkend="gnumeric-CODE"><function>CODE</function></link>,
        <link linkend="gnumeric-CHAR"><function>CHAR</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-UPPER">
      <refmeta>
        <refentrytitle>
          <function>UPPER</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>UPPER</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>UPPER</function>(<parameter>text</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>UPPER</function> returns a upper-case version of the string in <parameter>text</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>UPPER</function>("cancelled") equals "CANCELLED".</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-LOWER"><function>LOWER</function></link>.
      </para>
      </refsect1>
    </refentry>
    <refentry id="gnumeric-VALUE">
      <refmeta>
        <refentrytitle>
          <function>VALUE</function>
        </refentrytitle>
      </refmeta>
      <refnamediv>
        <refname>
          <function>VALUE</function>
        </refname>
        <refpurpose/>
      </refnamediv>
      <refsynopsisdiv>
        <synopsis><function>VALUE</function>(<parameter>text</parameter>)</synopsis>
      </refsynopsisdiv>
      <refsect1>
        <title>Description</title>
        <para><function>VALUE</function> returns numeric value of <parameter>text</parameter>.</para>
        <itemizedlist>
          <listitem>
            <para>This function is Excel compatible.</para>
          </listitem>
        </itemizedlist>
      </refsect1>
      <refsect1>
        <title>Examples</title>
        <para/>
        <para><function>VALUE</function>("$1,000") equals 1000.</para>
      </refsect1>
      <refsect1>
        <title>See also</title>
        <para><link linkend="gnumeric-DOLLAR"><function>DOLLAR</function></link>,
        <link linkend="gnumeric-FIXED"><function>FIXED</function></link>,
        <link linkend="gnumeric-TEXT"><function>TEXT</function></link>.
      </para>
      </refsect1>
    </refentry>
  </sect1>
</appendix>
