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

MSOParseExcelFile incorrect behavior while parsing

SA-67643

Summary



Incorrect amount displays when using MSOParseExcelFile to parse the amount.

For example, The amount 137.14 is parsed to 137.1399999999 on parsing using MSOParseExcelFile.



Error Messages



Not Applicable


Steps to Reproduce



Use MSOParseExcelFile to parse the amount 137.14.

Root Cause



An issue in the custom application code or rules. Cell format in the amount column of the Excel file was incorrect.

Resolution



Perform the following local-change:
  1. Add a step to loop through the amount list that reads from the Excel file 
  2. Format to two decimal precision using RoundToPrecision Rule-Utility-Function

 

 

Published January 1, 2019 - 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