Lift store BigDecimal in MongoDB
问题 I am developing an ecommerce site in Lift with MongoDB I need to store some data for product prices My question is this: What field type should I use in MongoDB if I want to store data type BigDecimal In mapper is a field of type: MappedDecimal, but in net.liftweb.mongodb.record.field no equivalent How I can to store this information? Thank you all for your attention and help 回答1: As of MongoDB v2.6 there is no fixed-places decimal type. The data has to be saved in a field of a different type