title: How to import :bigdec data into datomic
body: <p>I have this schema:</p>
  
  <pre><code>[
    {:db/id #db/id[:db.part/db]
     :db/ident :atr/amount
     :db/valueType :db.type/bigdec
     :db/cardinality :db.cardinality/one
     :db/fulltext false
     :db.install/_attribute :db.part/db}
  
    {:db/id #db/id[:db.part/db]
     :db/ident :atr/clientId
     :db/valueType :db.type/string
     :db/cardinality :db.cardinality/one
     :db/fulltext true
     :db/doc "The client who owns this atr"
     :db.install/_attribute :db.part/db}
  
    {:db/id #db/id[:db.part/db]
     :db/ident :atr/currency
     :db/valueType :db.type/string
     :db/cardinality :db.cardinality/one
     :db/fulltext true
     :db.install/_attribute :db.part/db}
  
    {:db/id #db/id[:db.part/db]
     :db/ident :atr/valueDate
     :db/valueType :db.type/instant
     :db/cardinality :db.cardinality/one
     :db/fulltext true
     :db.install/_attribute :db.part/db}
  
    {:db/id #db/id[:db.part/db]
     :db/ident :community/reference
     :db/valueType :db.type/string
     :db/cardinality :db.cardinality/one
     :db.install/_attribute :db.part/db}
  ]
  </code></pre>
  
  <p>I try to insert this data:</p>
  
  <pre><code>[
      {:db/id 1, :atr/amount 10, :atr/currency "USD", :atr/clientId "clientId", :atr/valueDate "2014-02-14"}
  ]
  </code></pre>
  
  <p>I get this error message:</p>
  
  <pre><code>Caused by: java.lang.IllegalArgumentException: :db.error/wrong-type-for-attribute Value 10 is not a valid :bigdec for attribute :atr/amount
  </code></pre>
  
  <p>How do I describe bigdec data for import into datomic?</p>