Skip to Content
0
Jul 22, 2008 at 09:18 AM

How can i divide no of day by 365 and get answer in decimals?

45 Views

i want to subtract two dates and then the answer must divide by 365 ..then i will get the experiance of person in the company ..

But the answer is comming

INTEGER ( WHERE RESULT VARIABLE IS TYPE P DECIMALS 3)

(E.G divide 458 / 365 = 1.000)

&

againg wrong answer (when result variable is type f )