Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

Commit

Permalink
fix: correct amount rounding issue
Browse files Browse the repository at this point in the history
  • Loading branch information
heilerich committed Mar 20, 2021
1 parent 3e0da90 commit abc1e5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "actualmoney",
"productName": "ActualMoney",
"version": "1.0.1",
"version": "1.0.2",
"description": "Synchronises bank statements from MoneyMoney.app to Actual.app",
"main": "src/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/importer.js
Expand Up @@ -114,7 +114,7 @@ const app = new Vue({
return {
account: account.id,
date: record.Date.format('YYYY-MM-DD'),
amount: parseFloat(record.Amount) * 100,
amount: Math.trunc(parseFloat(record.Amount) * 100),
imported_payee: record.Name,
payee_name: record.Name,
notes: record.Purpose,
Expand Down

0 comments on commit abc1e5f

Please sign in to comment.