<HTML
><HEAD
><TITLE
>ATAN2</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.54"><LINK
REL="HOME"
TITLE="Gnumeric's user manual"
HREF="gnumeric.html"><LINK
REL="UP"
TITLE="Reference"
HREF="function-reference.html#AEN1187"><LINK
REL="PREVIOUS"
TITLE="ISLOGICAL"
HREF="r4874.html"><LINK
REL="NEXT"
TITLE="MINA"
HREF="r4922.html"></HEAD
><BODY
CLASS="REFENTRY"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Gnumeric's user manual</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="r4874.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="r4922.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="AEN4894"
><A
NAME="GNUMERIC-ATAN2"
></A
>ATAN2</A
></H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN4899"
></A
><H2
>Name</H2
>ATAN2&nbsp;--&nbsp;</DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN4902"
></A
><H2
>Synopsis</H2
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SYNOPSIS"
>ATAN2(b1,b2)</PRE
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN4904"
></A
><H2
>Description</H2
><P
>ATAN2 function calculates the arc tangent of the two variables @b1 and @b2.  It is similar to calculating the arc tangent of @b2 / @b1, except that the signs of both arguments are used to determine the quadrant of the result. The result is in radians. This function is Excel compatible. </P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN4907"
></A
><H2
>Examples</H2
><P
></P
><P
>ATAN2(0.5,1.0) equals 1.107149.</P
><P
>ATAN2(-0.5,2.0) equals 1.815775.</P
><P
></P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN4913"
></A
><H2
>See also</H2
><P
>        <A
HREF="r9787.html#GNUMERIC-ATAN"
>ATAN</A
>
,         <A
HREF="r7860.html#GNUMERIC-ATANH"
>ATANH</A
>
,         <A
HREF="r2880.html#GNUMERIC-COS"
>COS</A
>
,         <A
HREF="r7182.html#GNUMERIC-SIN"
>SIN</A
>
,         <A
HREF="r2371.html#GNUMERIC-DEGREES"
>DEGREES</A
>
,         <A
HREF="r9505.html#GNUMERIC-RADIANS"
>RADIANS</A
>
      </P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="r4874.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="gnumeric.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="r4922.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
NAME="GNUMERIC-ISLOGICAL"
></A
>ISLOGICAL</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="function-reference.html#AEN1187"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
NAME="GNUMERIC-MINA"
></A
>MINA</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>