[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 [/snip] $diff = round(abs($balanceTest), 2) - round(abs($oldLineArray[16]), 2); Works? Does round convert the string to a float? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php