Numbers with decimals get rounded first time they are entered.
search cancel

Numbers with decimals get rounded first time they are entered.

book

Article ID: 385462

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

STEPS TO REPRODUCE:

1. Go to Administration > Studio > Objects > Project object
2. Create a number type attribute and set 2 decimal places
3. Add the number type field to a project blueprint
4. Edit a project linked to the above blueprint in MUX
5. At the Project Properties page, number field created add the 3.21 value  

Expected Results: The value is saved / displayed as 3.21
Actual Results: 
In Clarity 16.2.3, the first time the value is entered it gets rounded to 3. If the page is refreshed it displays 3.21
Once the field contains a value, if you modify to 5.65 for example, it displays correctly
In Clarity 16.3.0, the first time the value is entered it gets rounded to 3. A few seconds after displays 3.21
Once the field contains a value, if you modify to 5.65 for example, it displays correctly

Note: This issue is not locale related, it happens with all user locales.

Environment

Clarity 16.2.3, Clarity 16.3.0

Cause

This is being analyzed as part of DE157170

Resolution

This is fixed in 16.3.1 and we are targeting to backport it to 16.2.3.3 (16.2.3 patch 3)