I am trying to calculate the difference between two timestamps in hours. The results I am getting always round to the nearest hour for sme reason. The expression I am using is ($F{alt_end_date}. getTime()-$F{alt_start_date}.getTime())/(1000*60*60) + " hours" alt_start_date & alt_end_date are java.sql.Timestamp If I remove the calculation to convert the result from ms to hours it gives me the correct result in MS