SAP Knowledge Base Article - Preview

2341306 - roundup result is wrong - roundup(1.3680/0.4560,0); results in 4 and should be 3

Symptom

Roundup instruction could return a bad value.

For example: This code returns 4 while the result of 1.368/0.456 is 3.

  • numbervar TOTO; TOTO:=1.368/0.456;
  • roundup(TOTO);

Same code with 1.371/0.457 or 1.365/0.455 works and return 3.


Read more...

Environment

Crystal Reports XI R2, 2008, 2011, 2013 and 2016

Product

Crystal Reports 2008 V1 ; SAP Crystal Reports 2011 ; SAP Crystal Reports 2013 ; SAP Crystal Reports 2016 ; SAP Crystal Reports XI R2

Keywords

Crystal Reports, roundup , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.