Bug 882 Calc mode doesn't play nice with decimal comma

Added a few lines to transform the amount to decimal period format before pushing it to calc.