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

Number format accepts letter E and e for Integer property field

SA-79139

Summary



User can enter the letter 'E' or 'e' in an Integer type property field.


Error Messages



Not Applicable


Steps to Reproduce



Create a Property type as Integer. At runtime, user can enter the letter 'E' or 'e'.


Root Cause



This behavior is as per Pega product design.

'E' and 'e' are used to represent Exponent with number. These are valid characters for number representation.

For example, E5 means 100,000 or E-6 means 0.000001.



Resolution



Here's the explanation for the reported behavior:

According to the HTML5 specification, for the client, <input type="Number"> accepts 'e' and 'E' as a valid character to represent an Exponent.

For the server, while submitting an integer with 'e' or 'E', the value is rejected as these characters are not accepted for integer type. The property must be configured to use Validate such that a message displays if 'E' or 'e' is entered.

Published August 15, 2019 - Updated December 2, 2021

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