note 15051 added to function.deg2rad.php

From: Date: Sat, 25 Aug 2001 20:40:57 +0000
Subject: note 15051 added to function.deg2rad.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-17139@lists.php.net to get a copy of this message
To calculate x,y coordinates to draw the lines for making pieces in a pie chart, use this formula: $x2=$x+cos(deg2rad($degrees))*$radius $y2=$y+sin(deg2rad($degrees))*$radius http://www.php.net/manual/en/function.deg2rad.php

« previous php.notes (#17139) next »