Hi All of you,
I have strange problem in a very huge program.
I reproduce this problem in a small simple program exemple to be able to post it.
The question is, if c=60 then why INT(c/60) is equal to zero ?
I can't answer this one?
Thanks for your reply.
I have strange problem in a very huge program.
I reproduce this problem in a small simple program exemple to be able to post it.
The question is, if c=60 then why INT(c/60) is equal to zero ?
I can't answer this one?
Thanks for your reply.
exemple said:******************
* Program exemple
******************
CLEAR
a=datetime()
?"a=", a
b=a-60
?"b=", b
c=a-b
?"c=", c, type("c")
d=60
?"d=", d, type("d")
IF c=d
?"Yes 'c' and 'd' is equal", c, d
?
ELSE
?"No it's not!"
?
ENDIF
?"c/60=", c/60
?"d/60=", d/60
?"int(c/60)=", int(c/60)
?"int(d/60)=", int(d/60)
return
************