| Summary: | Current manpower with inconsistent decimal place | ||
|---|---|---|---|
| Product: | Group31Bullship | Reporter: | Matthew Chan <tnchan27-c> |
| Component: | User Interface | Assignee: | Fiona Ling <tkling8-c> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | bullshipkanna, bullshipkobayashi |
| Priority: | --- | ||
| Version: | Demo 1.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: | Inconsistent decimal place | ||
The problem is caused by returning only the manpower without limiting its decimal places. As the manpower calculation will sometimes change its decimal place, we have added function to limit its decimal place to 3 decimal places. |
Created attachment 100 [details] Inconsistent decimal place Problem description: Current manpower has an inconsistent decimal place, which affects the UI of the program Step to reproduce: 1. Repeat creating transaction 2. Check the current manpower, which may display manpower with different decimal place Actual result: The current manpower displayed with inconsistent decimal place Expected result: The current manpower should be displayed with a consistent decimal place (e.g. 3 decimal places)