![]() |
|
How Mob ACC works - Printable Version +- Southperry.net (https://www.southperry.net) +-- Forum: Maplestory (https://www.southperry.net/forumdisplay.php?fid=15) +--- Forum: Game Mechanics (https://www.southperry.net/forumdisplay.php?fid=33) +--- Thread: How Mob ACC works (/showthread.php?tid=28985) Pages:
1
2
|
How Mob ACC works - Nikkey - 2010-08-14 FrozNlite Wrote:So truncation is basically specific flooring? Makes sense. I was chopping off the end anyways, which is why I asked the question in the first place. Not really, but it's okay to think about it in that way in this case because every single number is positive. Truncating: 1.5 => 1 -1.5 => -1 Flooring: 1.5 => 1 -1.5 => -2 Edit: Woo ninja. How Mob ACC works - kirayamato26 - 2010-08-14 Fiel Wrote:Another way to think of "floor" would be to round down. Always round down. That depends on your language, in Python 2.6.5, int(-1.5) will give you -1 (tried just now). How Mob ACC works - Fiel - 2010-08-14 kirayamato26 Wrote:That depends on your language, in Python 2.6.5, int(-1.5) will give you -1 (tried just now). I did say that...? Fiel Wrote:Another way to think of "floor" would be to round down. Always round down. And also consider that I am a python programmer. hahaha How Mob ACC works - kirayamato26 - 2010-08-14 Fiel Wrote:I did say that...? Ah, my bad, I read it backwards, sorry. X_X Off topic, but is there any advantage to using Python 3 over Python 2? |