24 Nov
2009
24 Nov
'09
2:12 a.m.
epidata-list@lists.umanitoba.ca wrote:
LET AGE=ROUND(INT(TODAY-DOB)/365.25)
Instead of using "round" use the function "trunc" - it extracts only the integer part of the number, effectively rounding towards zero.
LET AGE = TRUNC(INT(TODAY - DOB) / 365.25)
Kind regards, Torsten Bonde Christiansen. EpiData Software Developer.