Thursday, 17 November 2016

Unable To Avoid Potential Divide By Zero Situation

Issue:
Most of time oracle developer facing this type of issue while they have been doing report development activity.
Unable To Avoid Potential Divide By Zero Situation

Solution:
Please speak with your in-house developer about this error and try to fix it within the rtf template.

The following syntax will avoid a potential divide by zero situation:

<?if: VALUE2=0?>0<?end if?><?if: VALUE2!=0?><?VALUE1 div VALUE2?><?end if?>

This will not fail if VALUE2 does have the value zero (0).

Reference:

Unable To Avoid Potential Divide By Zero Situation Using If-then-else Construct (Doc ID 429808.1)

No comments:

Post a Comment