>>set date british >>clear >> >>***************************** >>* Sets start and end datetime >>***************************** >>m.T_START = ctot("08/01/2005" + " " + "05:15") >>m.T_END = ctot("08/01/2005" + " " + "05:20") >> >>***************************************** >>* Find and show the difference in seconds >>***************************************** >>m.DIFF_SECONDS = m.T_END - m.T_START >>? m.DIFF_SECONDS && Prints 300 >> >>***************************************** >>* Find and show the difference in minutes >>***************************************** >>m.DIFF_MINUTES = (m.DIFF_SECONDS / 60) >>? m.DIFF_MINUTES && Prints 5,0000 >> >>********************************************************** >>* Now the weird thing. Shows the integer of m.DIFF_SECONDS >>********************************************************** >>? int(m.DIFF_MINUTES) && Prints 4 (Should be 5, not 4!!!) >>>