I think the Math bundle is stripping trailing zero digits a bit too vigorously: 16*5 = 8 16+16+16+16+16 = 8 16*5==8 = The problem seems to be the question mark in the perl replace statement. I don't think it will operate as intended if I just remove it, though. Chris