> When I check the value of $total_state_income it equals 24 not > the expected 24,689. > > The datatype of the values returned from SQL Server are Varchar > so I tried typecasting the values to integers before adding them > to the running total. > > What am I doing wrong?? > > Thanks in advance for your help, > Ron
does it work if you remove the thousands sspearators? Rich -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php