, I lose all but the two
digits along the way.
Tomi Kaistila
PHP Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
wish to understand.
PHP clearly stores a number with more than two decimal points when you call
microtime(). But when you print it, it only shows two.
Why is this?
Tomi Kaistila
PHP Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the floating points. As will passing it into the round() function.
Anyone know a workaround without using the bcmath library?
Tomi Kaistila
PHP Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
conflicts.
Hope that answered your question.
Tomi Kaistila
PHP Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
this issue? I've
looked for a solution for some time now, to no result.
My PHP version is 4.3.8.
--
developer programmer
me tomi kaistila
home http://www.datamike.org
gnupg 0xFA63E4C7
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
me tomi kaistila
home http://www.datamike.org
gnupg 0xFA63E4C7
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to you Dan, accidentally just went and hit the
reply button. This is a copy of that message to the mailing list.
--
developer programmer
me tomi kaistila
home http://www.datamike.org
gnupg 0xFA63E4C7
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Auth
{
var $dbObject = ;
function Auth ()
{
//Create an instance of you database class
$this-dbObject = new Database($arg1, $arg2, $etc);
}
function doSomething()
{
// Execute a query
$this-dbObject-query($sql);
}
}
?
I hope this helps
Best regards,
Davy Obdam
Tomi Kaistila wrote:
Hey
anywhere and alread have those variables available.
Best regards,
Davy
Tomi Kaistila wrote:
Hi!
Thanks for the idea, hadn't actually thought of it that way. I had
thought of passing objects (instance the db object to the auth object)
by reference, but when thinking that while one class might only need
programmer
me tomi kaistila
home http://www.datamike.org
gnupg 0xFA63E4C7
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all!
I finally got what I was after, after numerous tips and suggestion.
Thank you for your patience. Special thanks to Bruno Magalhães, Thomas
Goyne, and Davy Obdam.
Thanks again :-)
--
developer programmer
me tomi kaistila
home http://www.datamike.org
gnupg 0xFA63E4C7
--
PHP General
11 matches
Mail list logo