Financial Statement AX2012

Hi All,

Do need help for financial statement calculation. I get the below error where if one of divide is zero or negative value

Calculation error:((0)/(0))

example: 100 / 0 = calculation error  or -100 / 0 = error  or 0 / 100 = error

Any method can set in financial statement calculation to make it return 0 instead of throw error?

Thanks in advance for help