Jump to content


Photo

Weird number


  • Please log in to reply
5 replies to this topic

#1 Ph0enix

Ph0enix
  • Members
  • PipPipPip
  • Advanced Member
  • 64 posts

Posted 04 July 2006 - 11:08 PM

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? Thanks
Max
[url=http://www.slimphoenix.com][/url]

#2 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 04 July 2006 - 11:17 PM

Yeah.. I see what you've done. Its line 8 thats giving you trouble.

#3 Ph0enix

Ph0enix
  • Members
  • PipPipPip
  • Advanced Member
  • 64 posts

Posted 04 July 2006 - 11:21 PM

Oh damn, i knew it, thanks man.
*A message to all* I reccomend this guy!
[url=http://www.slimphoenix.com][/url]

#4 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 04 July 2006 - 11:23 PM

My point? Post your code!

#5 Ph0enix

Ph0enix
  • Members
  • PipPipPip
  • Advanced Member
  • 64 posts

Posted 04 July 2006 - 11:38 PM

I got that :P
But i fixed it now.
But thanks for your interest.
[url=http://www.slimphoenix.com][/url]

#6 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 04 July 2006 - 11:51 PM

Genius.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users