Different number of decimals for prices and totals
If you can set the number of decimal places site wide... I would set it to most precision I am likely to need and shorten it through the theme/js in the places where I need it shorter.  It may not be as graceful as variable precision, but if no other answers come up, it will get the job done...