Bug with Purchase invoices

Please search before posting. This bug has already been reported: Number formatting and calculation bug - #5 by NIKKON.