Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Inconsistent behavior of pxNumber control

SA-9281

Summary



We are expecting that PRPC stores number as user enters on section as it is, but it displays number with 4 digits below decimal point in read only mode.
PRPC shows the number on screen with 4 digits below decimal point, however the behavior is incosistent when it shows the number with rounding.
For example, if user enters '1234.12345' on editable screen then PRPC shows '1234.1234' (round off) in read only mode.
But if user enters '1234.12355' on editable screen then PRPC shows '1234.1236' (round up) in read only mode.


Error Messages



No error message

Steps to Reproduce



1. Create decimal property.
2. Create section and place property created at step 1. And set a control as pxNumber.
3. Set decimal places in read-only mode as '4' in pxNumber control.
4. Enter numbers which I said above. -> 1234.12345 and 1234.12355
5. See what is displayed in read only mode.


Resolution



This issue is resolved by hotfix itemHFix-21870

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us