Tangent arc (inverse of the tangent) of a specific number of radians.

1 math.atan

<math.atan>
    <var /> +
</math.atan>

Exceptions

at least 1 argument required

It requires at least one argument

illegal operator

illegal object types

Example
Copy
<xsql-script name='atan_sample1'>
    <body>
        <set name='result'><math.atan>0</math.atan></set>
        <println>atan(0) = <result/></println>              --> atan(0) = 0
    </body>
</xsql-script>

Returns:

Copy
atan(0) = 0
Example
Copy
<xsql-script name='atan_sample2'>
	<body>
		<set name='result'><math.atan>1</math.atan></set>
		<println>atan(1) = <result/></println>              --> atan(1) = 0.78
	</body>
</xsql-script>

Returns:

Copy
atan(1) = 0.7853981633974483