> Also, you may want to > change Mils2iu to use wxRound() so it will work for negative values.
wxRound()'s use of C lib's round() seems like overkill to me. Since the objective is to produce an integer, not a double, there is an easier way that has the possibility of letting the compiler do some of the work, i.e. in advance, on constants, without the overhead of a mandatory floating point function call. See my latest DMils2iu() as a suggestion. Dick _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

