nested if/ when /choose condition #urgent
<?xdofx:if S_TOT_BON_AWD_13 > 0 then
(S_TOT_BON_AWD_13 div ((S_BASE_SAL_13 * S_CUR_BON_TAR_AMO) div 100)) * 100
else
0
end if?>
This code is returning NaN in output because S_BASE_SAL_13 * S_CUR_BON_TAR_AMO returns 0
how to put condition that S_BASE_SAL_13 * S_CUR_BON_TAR_AMO should not be equal to 0
TIA