PRInt32 excess = aValue % fullPixel; if (0 == excess) return aValue;  nscoord halfPixel = NSToCoordRound(aPixelToTwips / 2.0f); switch(aRound) { case eRoundUpIfHalfOrMore: if (excess >= halfPixel) {
} else { if (excess > halfPixel) {
nsTableFrame::RoundToPixel(nscoord       aValue,                           float         aPixelToTwips,                           nsPixelRound  aRound){  nscoord fullPixel = NSToCoordRound(aPixelToTwips);  if (fullPixel <= 0)     // We must be rendering to a device that has a resolution greater than Twips!     // In that case, aValue is as accurate as it's going to get.    return aValue;    PRInt32 excess = aValue % fullPixel;  if (0 == excess)     return aValue;  nscoord halfPixel = NSToCoordRound(aPixelToTwips / 2.0f);  switch(aRound) {  case eRoundUpIfHalfOrMore:    if (excess >= halfPixel) { // eRoundUpIfHalfOrMore      return aValue + (fullPixel - excess);    }  case eAlwaysRoundDown:    return aValue - excess;  default: // eAlwaysRoundUp    return aValue + (fullPixel - excess);  }}