Servertec atan2( )
Reference Manual
Conventions
Scriptlets
Data Types
Constants
Variables
Procedures
Operators
Statements
Objects
Array
Config
Context
Cookie
Date
Enumeration
File
FileDescriptor
Hashtable
Internet
IO
JDBC
Number
abs( )
acos( )
asin( )
atan( )
atan2( )
ceil( )
cos( )
Double( )
E( )
exp( )
floor( )
int( )
Integer( )
isInfinite( )
isNaN( )
log( )
Long( )
max( )
min( )
PI( )
pow( )
remainder( )
rnd( )
round( )
sin( )
sqrt( )
tan( )
toBinaryString( )
toHexString( )
toOctalString( )

Object
Properties
Random
Request
RequestDispatcher
Response
Session
SqlTypes
Stack
StreamTokenizer
String
StringBuffer
StringTokenizer
System
Vector

Wrappers
Servlet
Server Pages
Preprocessor
Executable

Return

 

Returns the polar coordinates of a rectangular coordinates.

Syntax

    atan2( number1 , number2 )
    number1.atan2( number1 )

Parameters

    number1 the y coordinate.
    number2 the x coordinate.

Returns

    number the polar coordinates of the given rectangular coordinates.

Example

    println( atan2( y, x ) )
    
 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Mon Sep 05 14:25:25 EDT 2005