Search DaTutorials:  
HOME
Php Tutorials
Articles
Basics
Date and Time
File Manipulations
Forms
Functions
General
Interactivity
MySql
Navigation
News,Shoutboxes and Blogs
Language Structure and Data Types
Searching
Security
String Manipulation
User Information and Stats
Search For a Tutorial
Php Reference

tan

(PHP 3, PHP 4 , PHP 5)

tan -- Tangent

Description

float tan ( float arg)

tan() returns the tangent of the arg parameter. The arg parameter is in radians.

Example 1. tan() example

<?php

echo tan(M_PI_2); // 1

?>

See also: atan(), sin(), cos(), and deg2rad().



Copyright © 2001-2004 The PHP Group
All rights reserved.

     Car Accident Lawyer Los Angeles | Credit Cards UK | Credit Cards | Mortgage Calculator | Moneygram
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp