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 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. 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! 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! 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. 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. Link to comment https://forums.phpfreaks.com/topic/13680-weird-number/#findComment-53088 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.