replace 32 bit op with toFixed
add tests
Merge pull request #1175 from matiu/bug/fix-big-amounts

Bug/fix big amounts