Float vs Double type for Price value

Hi @Ciprian_Gabor,

For prices you want to use the Decimal128 type so all the calculations are absolutely exact (and not rounded to the next float or double) because of the IEEE 754.

Cheers,
Maxime.

1 Like