Calculation of the list of currency fields are wrong values

Henrique7
Giga Guru

Could someone help me with this case?

I tried to modify the properties of System Location Currency but did not work

 

find_real_file.png

1 ACCEPTED SOLUTION

Henrique7
Giga Guru
  1. Navigate to sys_properties.list.

  2. Find glide.currency_price.use_all_fraction_digits, and set to the desired value.

ValueDescription
falseUses two decimal places. This value is the pre-Istanbul behavior and the default.
trueUses four decimal places.

View solution in original post

3 REPLIES 3

Mike Allen
Mega Sage

oh, man, currencies.  What an absolute headache these things are.  The only advice I have for you is currency scripting, found here, convert down to decimals with getCurrencyValue(), add them together, and then set the value again.  I avoid currency fields like the plague because they are so fickle.

 

Good luck.

Thanks for the help, I already found the solution

Henrique7
Giga Guru
  1. Navigate to sys_properties.list.

  2. Find glide.currency_price.use_all_fraction_digits, and set to the desired value.

ValueDescription
falseUses two decimal places. This value is the pre-Istanbul behavior and the default.
trueUses four decimal places.