Ph0enix Posted July 4, 2006 Share Posted July 4, 2006 Hi, im just learning PHP now so im not very confident with it and dont know a lot.To practice my PHP i made a function that works out your age in seconds.But then the answer i got back was 6.02486047692E-007.Whats up with this cause im obviously not 6.02 seconds old. (i dont think)Can anyone tell me what goin on please? ThanksMax Quote Link to comment https://forums.phpfreaks.com/topic/13680-weird-number/ Share on other sites More sharing options...
trq Posted July 4, 2006 Share Posted July 4, 2006 Yeah.. I see what you've done. Its line 8 thats giving you trouble. Quote Link to comment https://forums.phpfreaks.com/topic/13680-weird-number/#findComment-53070 Share on other sites More sharing options...
Ph0enix Posted July 4, 2006 Author Share Posted July 4, 2006 Oh damn, i knew it, thanks man. *A message to all* I reccomend this guy! Quote Link to comment https://forums.phpfreaks.com/topic/13680-weird-number/#findComment-53073 Share on other sites More sharing options...
trq Posted July 4, 2006 Share Posted July 4, 2006 My point? Post your code! Quote Link to comment https://forums.phpfreaks.com/topic/13680-weird-number/#findComment-53074 Share on other sites More sharing options...
Ph0enix Posted July 4, 2006 Author Share Posted July 4, 2006 I got that :PBut i fixed it now. But thanks for your interest. Quote Link to comment https://forums.phpfreaks.com/topic/13680-weird-number/#findComment-53082 Share on other sites More sharing options...
trq Posted July 4, 2006 Share Posted July 4, 2006 Genius. Quote Link to comment https://forums.phpfreaks.com/topic/13680-weird-number/#findComment-53088 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.