[snip] <?php var_dump( $balanceTest ); var_dump( $oldLineArray[16] ); ?> Methinks you have different data types. [/snip] string(5) "15.22" float(15.22) You're right....*smacks forehead*. Sometimes this whole forest and trees thing kills me. [/snip] settype($balanceTest, "float") had no effect -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php