COS function

From: Date: Thu, 31 Jan 2002 12:39:43 +0000
Subject: COS function
Groups: php.general 
Request: Send a blank email to php-general+get-82915@lists.php.net to get a copy of this message
I was wondering about the cos fuction in PHP when I try to get cos of 90 degrees I'm not getting 0 but some weird no. (i.e 6.28...E-17) is there anything I can do to get zero as my answer. P.S. I have converted my degrees to radians! Mike.

« previous php.general (#82915) next »