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? Quote 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... Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/72133-nan-php-echos/#findComment-363754 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.