hledger/hledger-lib/Hledger/Data
Simon Michael 50dc7bebb1 imp: set display style, natural precision on valued amounts (fix #2105, precisiongeddon)
Cost/value conversion now applies the standard display style, and
sets the display precision equal to the internal decimal precision
(or 8 if the decimal appears to be infinite).
This means value reports and especially `print -V` now show amounts
with more accurate and standard style and precision.

New tests have been added describing and explaining various
style/precision behaviours in print cost/value reports.
2023-11-08 13:59:18 -08:00
..
JournalChecks dev: lib, cli, bin: enable/fix name shadowing warnings 2022-08-23 12:16:15 +01:00
Account.hs dev: lib, cli, bin: enable/fix name shadowing warnings 2022-08-23 12:16:15 +01:00
AccountName.hs journal: Fully unbracket AccountNames in account directives 2023-01-23 12:43:13 -10:00
Amount.hs imp: set display style, natural precision on valued amounts (fix #2105, precisiongeddon) 2023-11-08 13:59:18 -08:00
Balancing.hs imp: set display style, natural precision on valued amounts (fix #2105, precisiongeddon) 2023-11-08 13:59:18 -08:00
Dates.hs make groupByDateSpan return data when first period has unbounded begin 2023-08-25 18:40:50 +01:00
Errors.hs fix: failing balance assertions with cost show correct highlight #2083 2023-09-11 10:11:24 +01:00
Journal.hs ;doc: haddock, comment fixes 2023-10-21 17:58:43 +01:00
JournalChecks.hs imp:check:recentassertions: improve the error message's suggestion 2023-07-13 09:01:57 -10:00
Json.hs dev:print: refactor, add AmountStyle "rounding strategy" 2023-10-18 13:56:24 +01:00
Ledger.hs cln: tests: Remove test and tests, which are just aliases for testCase 2021-08-30 16:32:19 -10:00
Period.hs imp: partial/inferred dates are flexible, full dates are not (#1982) 2023-02-17 07:24:19 -10:00
PeriodicTransaction.hs imp: Generated/modified txns/postings are now tagged only with --verbose-tags 2023-04-29 18:25:11 -10:00
Posting.hs lib!: use styleAmounts in more places; add rounding strategies 2023-10-18 13:56:24 +01:00
RawOptions.hs lib: add toggleopt, for flags that toggle when repeated 2023-05-09 10:08:52 -10:00
StringFormat.hs dev: lib, cli, bin: enable/fix name shadowing warnings 2022-08-23 12:16:15 +01:00
Timeclock.hs imp: timeclock: support comments and tags (fix #1220) 2023-05-03 00:05:11 -10:00
Transaction.hs dev:print: refactor, add AmountStyle "rounding strategy" 2023-10-18 13:56:24 +01:00
TransactionModifier.hs lib!: use styleAmounts in more places; add rounding strategies 2023-10-18 13:56:24 +01:00
Types.hs lib!: use styleAmounts in more places; add rounding strategies 2023-10-18 13:56:24 +01:00
Valuation.hs imp: set display style, natural precision on valued amounts (fix #2105, precisiongeddon) 2023-11-08 13:59:18 -08:00