Hi Henry, Esteban, Joachim,
thanks for your opinion!
The ranges of my data are relatively small because my application deals
with travel expenses, e.g. Hotel receipts, Taxi receipts, Flights et. So,
99,99% of all my amounts are less than 10.000 Euro.
So I will try it with the Float solution and
On Aug 19, 2013, at 10:38 , Sabine Knöfel wrote:
> Hi,
>
> I am interested in your opinion.
> I use FixedDecimal for computing currency amounts.
> This works fine.
>
> When storing the amounts with voyage into mongo (I have a lot of them!!!),
> normally, one currency amount would be stored int
Hi,
yes, looks like too much :)
I would go with the float representation... for the conversion, I do not have
an experience or opinion about performance or db footprint.
You have to check that in the old empirical fashion way :)
Esteban
On Aug 19, 2013, at 10:38 AM, Sabine Knöfel wrote:
>
Am 19.08.13 10:46, schrieb jtuc...@objektfabrik.de:
Am 19.08.13 10:38, schrieb Sabine Knöfel:
I think, this is a lot of stuff for one single value. I tend to
convert the
FixedDecimal into a Float for storing it. In this case, it would be like
this:
"vatAmountEUR": 0.7196
When loading, I imm
Am 19.08.13 10:38, schrieb Sabine Knöfel:
I think, this is a lot of stuff for one single value. I tend to convert the
FixedDecimal into a Float for storing it. In this case, it would be like
this:
"vatAmountEUR": 0.7196
When loading, I immediately re-convert it into a FixedDecimal. I would do