objectbox-java icon indicating copy to clipboard operation
objectbox-java copied to clipboard

Support BigDecimal

Open greenrobot opened this issue 7 years ago • 4 comments

Check https://stackoverflow.com/questions/46277927/how-can-i-use-objectbox-to-store-money-values-bigdecimal

As a first workaround we could provide an converter out of the box.

Open questions:

  1. Can we have a efficient binary format - or should we just go with strings?
  2. Can we make it sortable with reasonable effort?

greenrobot avatar Sep 18 '17 13:09 greenrobot

Any updates on this feature request?

mvdh avatar Nov 08 '17 20:11 mvdh

Any updates?

pandalion98 avatar Mar 31 '19 16:03 pandalion98

Any updates?

I have spent a lot of time trying to understand why my double value 1.15 is rounding to 1.1, not to 1.2, so I do not like doubles.

cvoronin avatar Aug 07 '23 10:08 cvoronin

No updates. If you are just interested in this, please thumbs up the first comment to help us track interest.

Note that there is a limited workaround by using a converter.

greenrobot-team avatar Aug 08 '23 05:08 greenrobot-team