Article Details
Id: | 17352 |
Product: | finPOWER Connect |
Type: | FIX |
Version: | 3.03.03 |
Opened: | 02/09/2020 |
Closed: | 02/09/2020 |
Released: | 01/10/2020 |
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.