Knyvet -> RE: Air transport capacity (9/1/2013 10:09:51 PM)
|
It is a division with a min and not a rounding rule. Think of it as increments of 2,000 capacity and a minimum of 1 regardless of size. If you use rounding, it gets confusing about when you should round up or down. Generally speaking, computers use division without remainders unless you take the extra step of executing a modulo function (aka modulus or MOD). Unless don, Michael, or someone else in the know about the code (or the manual) says otherwise, I tend to ignore rounding when doing WITP AE math. E.g., asw for a plane with a range of 9 is 4 hexes, not 10 - the program likely ignores the division's remainder when dividing by 2 to figure out asw range (i.e., it is not calculated and then "rounded down"). Mod function example using Excel [image]local://upfiles/33048/9B6DB542345440FAB29E4FA999195E4B.jpg[/image]
|
|
|
|