

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
atan() function in PHP
The atan() function return the arc tangent of a number. It returns a float, which is a numeric value between -Pi/2 and Pi/2 radians.
Syntax
atan(val)
Parameters
val − The value for which you want to get the arc tangent.
Return
The atan() function returns the arc tangent of a number.
Example
<?php echo(atan(20) . "<br>"); echo(atan(2) . "<br>"); echo(atan(0.60) . "<br>"); echo(atan(-0.60) . "<br>"); ?>
Output
1.520837931073<br>1.1071487177941<br>0.54041950027058<br>-0.54041950027058<br>
- Related Questions & Answers
- PHP atan() Function
- atan() function for complex number in C++?
- file_exists() function in PHP
- basename( ) function in PHP
- chgrp()function in PHP
- chmod() function in PHP
- chown() function in PHP
- clearstatcache() function in PHP
- copy() function in PHP
- delete() function in PHP
- dirname()function in PHP
- disk_free_space() function in PHP
- disk_total_space() function in PHP
- diskfreespace() function in PHP
- fclose() function in PHP
Advertisements