Currently trying to migrate everything
Currently trying to migrate everything to twenty and am wondering: Why must I multiply the "amountMicros" of the deal API with 100.000 to get the value I actually want? Would have expected cents to be the smalles value.
3 Replies
It's quite common to store more precision than cents for currency amounts, especially when you deal with currency exchange rates. This way you avoid losing too much accuracy if you convert back and forth
I have no real problem with that. I just scratched my head after my deals were being greated with values 100K less then what I was expecting. Wasn't documented that this will be the case. Or at least I didn't understand the documentation (amountMicros).
Makes sense ! Thanks for the feedback 🙂