in reply to Integer vs Float during addition
but I was getting different results (ie if() was true/false) depending on whether the $cost of 0.00 was extracted via DBI::MYSQL and then left untouched, or extracted via DBI::MYSQL and then added to an integer zero.if( $cost) { .... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Integer vs Float during addition
by Zaxo (Archbishop) on Jun 29, 2006 at 04:39 UTC | |
by halley (Prior) on Jun 29, 2006 at 16:10 UTC | |
|
Re^2: Integer vs Float during addition
by Moron (Curate) on Jun 29, 2006 at 12:41 UTC | |
by ikegami (Patriarch) on Jun 30, 2006 at 06:15 UTC |