Turns out the math isn't as easy as some might have us believe... http://forum.square-enix.com/ffxi/th...-much%21/page6
Also, for what it's worth, other's have been banned for posting seemingly innocent formulas to explain how the game calculates things on these forums. I would be careful.
