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

Amounts are parsed incorrectly

SA-89048

Summary



The below amounts are parsed incorrectly (according to the Pega Platform 8.2 Implementation Guide).
  • 999,0
  • 999,00
  • 999,000
  • 999,0000
  • 999.000
  • 999.0000

This occurs even when, 

  • CCC is a valid ISO currency code such as USD, GBP, or EUR.
  • the decimal point is a decimal comma or a period separating the whole number from the fraction.
  • the whole number string is a maximum of 15 digits, including the punctuation if present; if present, the 000 separator is a period or a comma
  • the decimal fraction is a maximum of four digits and if zero can be represented as follows:
     
    999,0 999,00 999,000
    999,0000 999, 999,-
    999 999. 999.0
    999.00 999.000 999.0000


Error Messages



Not Applicable


Steps to Reproduce


 

Create a Swift / Email with respective keywords to Amount Parsing and give an highlighted amount as in the detailed description.

  1. Create a Swift or an Email with respective keywords to Amount Parsing.
  2. Provide an amount as below.

    999,0
    999,00
    999,000
    999,0000
    999.000
    999.0000


Root Cause



A defect in Pegasystems’ code or rules.

Some amount formats do not parse according to the Amount guidelines.

Refer to the Implementation guide for all the formats.



Resolution



Apply HFix-56344.
Suggest Edit

Published December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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