Skip to main content

Knowledge Doc: Incorrect Value Returned Using the ROUND Built-in Function When the Scale factor is Less Than Zero

  • October 25, 2022
  • 0 replies
  • 0 views

Heather Caldwell

In Enterprise Developer V8, the following statement would give an incorrect value if the scale factor was less than zero (in this case -2):

ROUND_RESULT = ROUND(ROUND_SOURCE / ROUND_DIVIDER-2);

Full article: https://portal.microfocus.com/s/article/KM000011385


#SupportTips/KnowledgeDocs
#EnterpriseDeveloper