1 {-# LANGUAGE DeriveDataTypeable #-}
2 {-# LANGUAGE FlexibleContexts #-}
3 {-# LANGUAGE FlexibleInstances #-}
4 {-# LANGUAGE GeneralizedNewtypeDeriving #-}
5 {-# LANGUAGE OverloadedStrings #-}
6 {-# LANGUAGE StandaloneDeriving #-}
7 {-# LANGUAGE TypeFamilies #-}
8 {-# OPTIONS_GHC -fno-warn-orphans #-}
9 module Hcompta.Format.JCC.Quantity where
12 import Data.Typeable ()
13 import Data.Word (Word8)
15 import qualified Hcompta.Filter.Amount as Filter.Amount
18 type Quantity = Filter.Amount.Quantity
20 quantity_round :: Word8 -> Quantity -> Quantity
21 quantity_round = Data.Decimal.roundTo