Article Details
Id: | 12751 |
Product: | finPOWER Connect |
Type: | FIX |
Version: | 2.02.05 |
Opened: | 23/03/2015 |
Closed: | 23/03/2015 |
Released: | 26/03/2015 |
Job: | J015157 |
Page Sets; NumberBoxes with a specified number of Decimal Places always round as if they are Currency values
If a Page on a Page Set defines a NumberBox that has a custom number of Decimal Places, e.g., 12, when the value is entered and the user moves to a different Page Object, the value is rounded as if it is a currency value, e.g., to 2 Decimal Places.
For example, entering a value of 0.12345678 will reset the value to 0.12.
This was due to an issue in the business layer finPageSetHandlerPageObject.ValueAsDecimal method that always converted the value to a currency value rather than using the specified number of Decimal Places.