Michael A. Peters wrote:
I'm having a problem with db2 and prepared statements.
var_dump indicates that some variables that should be type int are type
text.
These variables are the output of bcmath equations, and are integer.
Does bcmath for some reason output a text type?
I can fix it by adding 0 but I want to know if I'm using bcmath
incorrectly.
LOL - I would like to know if bcmath is suppose to return int (I'm
guessing yes so it can deal with numbers outside of fp math) but I don't
think that was the issue.
$foo[] = Array($var1,$var2)
was my problem ... notice the [] ;)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php