|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-09-21 08:42 UTC] pajoye@php.net
-Status: Open
+Status: Feedback
[2011-09-21 08:42 UTC] pajoye@php.net
[2011-09-21 10:29 UTC] michael dot fellinger at multitec-sono dot at
[2011-09-21 10:31 UTC] pajoye@php.net
-Status: Feedback
+Status: Bogus
[2011-09-21 10:31 UTC] pajoye@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 01:00:01 2025 UTC |
Description: ------------ I use PHP Version 5.3.5 but it seems to be not solved in newer Versions It only happends with the number or string 1900 and only if the execute command from the adodb connection was performed. I gues i also happens with other numbers. Test script: --------------- $ADODB = new COM( 'ADODB.Connection' ); $ADODB->open($strConn); #connection to a MS-Access Database $RS = $ADODB->execute("SELECT Lagerwert FROM tblStammdaten WHERE tblStammdaten.Seriennummer='74925KR9';"); echo $RS->Fields(0)->Value . "<br>"; $x = sprintf("%f",$RS->Fields(0)->Value); echo $x; Expected result: ---------------- 1900 1900.000000 Actual result: -------------- 1900 18:0.000000