Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Precision for currency values in xls files #74

Open
redstreet opened this issue Jul 8, 2023 · 1 comment
Open

Precision for currency values in xls files #74

redstreet opened this issue Jul 8, 2023 · 1 comment

Comments

@redstreet
Copy link
Owner

redstreet commented Jul 8, 2023

From #70

  1. "Cash Withdrawal" entries should have 2 decimal places even for whole numbers but are currently missing. This affects automatic numerical display inference in Fava

Temporarily fixed. Still needs a full solution. The problem is, petl uses xlwt/xlrd to read excel, which use excel datatypes, which we don't want, as we want just the string, which we can then pass on to decimal.Decimal. Not sure exactly how decimals are stored in excel

@redstreet
Copy link
Owner Author

stackoverflow
xlrd API ref

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant