arithmetic over/underflow | Adobe Higher Education
Skip to main content
June 6, 2021
Respondido

arithmetic over/underflow

  • June 6, 2021
  • 2 respostas
  • 1828 Visualizações

I am getting over/underflow error, below is the formula and related values:

 

UtilizedContractValue = 0

ApprovedContractValue = 0

 

$=(UtilizedContractValue/ApprovedContractValue)

 

When you open the form both values are zero initially.

 

Need help to resolve it trough 'FormCalc' 

Este tópico foi fechado para respostas.
Melhor resposta por arunpatidar

Hi,

Divide by zero is not a valid case, you will always get exception.

You need to put a check, in case the divisor is 0

https://experienceleaguecommunities.adobe.com/t5/adobe-livecycle-discussions/help-divide-by-zero-errors/td-p/97212

2 Respostas

VeenaVikraman
Community Advisor
Community Advisor
June 7, 2021

@aki15a9 Can you please let us know which tool you are using ? Doesn't seem to be an issue related to AEM 

 

@kautuk_sahni 

AKI15A9Autor
June 7, 2021
I am using Adobe Livecycle
arunpatidar
Community Advisor
arunpatidarCommunity AdvisorResposta
Community Advisor
June 7, 2021

Hi,

Divide by zero is not a valid case, you will always get exception.

You need to put a check, in case the divisor is 0

https://experienceleaguecommunities.adobe.com/t5/adobe-livecycle-discussions/help-divide-by-zero-errors/td-p/97212

Arun Patidar
AKI15A9Autor
June 7, 2021
Thank You, but I am still getting error. Maybe my script has mistake. Can you suggest a script?