convert time format
View Single Post
12-11-2007, 02:46 AM
Join Date: Sep 2007
Originally Posted by
, what's that all about? Also, there is no need in this case for double quotes around the formatting string. I'm sure this isn't the first time I've seen
posted up here, so every time I see it, I'll keep nagging!
The PHP document inspired me to use the echo.
Example#9 sprintf(): scientific notation
$number = 362525200;
echo sprintf("%.3e", $number); // outputs 3.625e+8
, start nagging them.
Necessity is the mother of invention.
View Public Profile
Send a private message to Haris
Find More Posts by Haris