note 40793 added to function.cos

From: Date: Mon, 15 Mar 2004 06:01:07 +0000
Subject: note 40793 added to function.cos
Groups: php.notes 
Request: Send a blank email to php-notes+get-66842@lists.php.net to get a copy of this message
Here's a simple function to get the cos of an angle given in degrees # cos from deg function dcos ($arg) { return (cos(deg2rad($arg))); } The same will work for sin and tan too. ---- Manual Page -- http://www.php.net/manual/en/function.cos.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+40793 Delete -- http://master.php.net/manage/user-notes.php?action=delete+40793&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+40793&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#66842) next »