lotrfan Posted October 6, 2007 Share Posted October 6, 2007 $test = -2; echo $test; $test = acos($test); echo $test; Why does the second echo say "NAN" or not a number? Link to comment https://forums.phpfreaks.com/topic/72133-nan-php-echos/ Share on other sites More sharing options...
lotrfan Posted October 6, 2007 Author Share Posted October 6, 2007 oops...thought I solved it but I didn't... Link to comment https://forums.phpfreaks.com/topic/72133-nan-php-echos/#findComment-363628 Share on other sites More sharing options...
MasterACE14 Posted October 7, 2007 Share Posted October 7, 2007 When I ran that script my result was this: 2-1.#IND Regards ACE Link to comment https://forums.phpfreaks.com/topic/72133-nan-php-echos/#findComment-363754 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.