Skip to content
Permalink
Browse files

;prices: note

[ci skip]
  • Loading branch information...
simonmichael committed Jun 1, 2019
1 parent 45198d3 commit 289891cacfd408268398fdc0301f7d5e96cc8252
Showing with 1 addition and 0 deletions.
  1. +1 −0 hledger/Hledger/Cli/Commands/Prices.hs
@@ -50,6 +50,7 @@ divideAmount' n a = a' where
extPrecision = (1+) . floor . logBase 10 $ (realToFrac n :: Double)
precision' = extPrecision + asprecision (astyle a)

-- | Invert an amount's price for --invert-cost, somehow (? unclear XXX)
invertPrice :: Amount -> Amount
invertPrice a =
case aprice a of

0 comments on commit 289891c

Please sign in to comment.
You can’t perform that action at this time.