M
Michael Yanowitz
Hello:
Just wondering if this is a bug, is this as designed,
or do I have to import math or something to make it correct:
I was just screwing around.
and found:-1
Shouldn't it be zero?
1/100 returns 0
but -1/ANY_POSITIVE_INTEGER_NUMBER
returns -1
-4
It behaves correct for positive numbers, but for negative
integers it seems to subtract one from the expected result.
Thanks in advance:
Michael Yanowitz
Just wondering if this is a bug, is this as designed,
or do I have to import math or something to make it correct:
I was just screwing around.
and found:-1
Shouldn't it be zero?
1/100 returns 0
but -1/ANY_POSITIVE_INTEGER_NUMBER
returns -1
-4
It behaves correct for positive numbers, but for negative
integers it seems to subtract one from the expected result.
Thanks in advance:
Michael Yanowitz