Forum
Calc Builder Support
Calc Builder supportForums
No se permite escribir sin estar logado. Por favor, login
Re: division by zero 10.01.2014 09:28
Hi,
there must be a division by zero resulting at your code. We suggest to double-check your inputs, maybe you can comment out the division line and print the operands at the output to confirm they have the value expected.
Any typo at a name variable can also cause the value to behave as 0. For ex, with a field named input1
$result=100/$input_1; //this will cause a division by 0 error
Hope this helps, regards
Moonsoft Team
www.moonsoft.es
there must be a division by zero resulting at your code. We suggest to double-check your inputs, maybe you can comment out the division line and print the operands at the output to confirm they have the value expected.
Any typo at a name variable can also cause the value to behave as 0. For ex, with a field named input1
$result=100/$input_1; //this will cause a division by 0 error
Hope this helps, regards
Moonsoft Team
www.moonsoft.es