hey, i figured out the problem, my database, it doesn't round the sum so and transfers a 3 decimal point number, so i round them in the database and it work, my only problem today it the grand total if one of them is 0.00 the salary should not be added in the total, yet it is added.