FIX3.03.03 · Released 1 October 2020
Breaking Change
FIXfinPOWER Connect
Released in
3.03.03
1 October 2020
- Opened2 Sep
- Closed2 Sep
- Released1 Oct
Article 17352
Job J024954
ISScriptConstants.ToKeyValueList() incorrectly formatted non-currency numbers
Previously, all numbers from the resulting ISKeyValueList of ISScriptConstants.ToKeyValueList() would be Decimal, and therefore assumed to be currency. This meant that:
- All numbers were rounded to 2 decimal places
- Commas would be automatically inserted for large numbers (e.g. 1,000)
This caused issues when numbers were required in their raw form. E.g. 12345.2333 would always resolve as 12,345.23, which may not be the intention.
Now, if the Constant is type "Currency" then the existing behaviour is respected. If the Constant is type "Number" it now assumes to be a double, and therefore the raw number is preserved.