Shadowing Posted March 24, 2012 Share Posted March 24, 2012 Hey guys i cant figure out why im not getting an answer of 5 with this. SELECT sqrt(pow(1 - 2,2) + pow(5 - 5,2)) AS RESULT The formula im using Link to comment https://forums.phpfreaks.com/topic/259616-getting-a-wrong-total-on-this-math/ Share on other sites More sharing options...
Shadowing Posted March 24, 2012 Author Share Posted March 24, 2012 ehh nevermind lol. had my x and y's fliped around I didnt even notice. doing math right when waking probably isnt a good idea Link to comment https://forums.phpfreaks.com/topic/259616-getting-a-wrong-total-on-this-math/#findComment-1330703 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.