Page 1 of 1
[NOT A BUG] No Division?
Posted: Sun Jan 13, 2008 3:23 am
by Juryiel
Division doesn't seem to be in, took me a while to figure out why I kept getting 0 values when I shouldn't have been

Yes, I realize I can just multiply instead, but this is a peculiar thing to be missing
EDIT: Apparently it works with decimals. While 1/2 gives me 0, 1.0/2.0 gives me .5! yay!
Posted: Sun Jan 13, 2008 1:45 pm
by QuestOfDreams
1/2 is an integer division, the integer part of 0.5 is 0.
Posted: Sun Jan 13, 2008 8:06 pm
by Juryiel
I'm confused (I get what you're saying of course, but not sure why only integer answers are possible?) Is it integer/integer must equal integer? I've never run into this before. Thanks for the heads up tho

Re: [NOT A BUG] No Division?
Posted: Sun Feb 10, 2008 6:40 pm
by darksmaster923
1/2 doesnt allow decimals