Jump to content

Archived

This topic is now archived and is closed to further replies.

Ph0enix

Weird number

Recommended Posts

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

Share this post


Link to post
Share on other sites
Yeah.. I see what you've done. Its line 8 thats giving you trouble.

Share this post


Link to post
Share on other sites
Oh damn, i knew it, thanks man.
*A message to all* I reccomend this guy!

Share this post


Link to post
Share on other sites
My point? Post your code!

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.