bcmath integer type?
| From: | Michael A. Peters | Date: | Fri, 08 May 2009 04:24:56 +0000 |
| Subject: | bcmath integer type? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-292393@lists.php.net to get a copy of this message | ||
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.