Topic: Division by zero error Posted: 15 May 2012 at 4:12am
I am currently using the following formula:
if {SumOfExposure} <> 0 then (1 - ({GrosssTrades}/{LimitCash})) * 100 else 0
In this instance, {LimitCash} has a zero value and I am recieving the division by zero error. How can I add an if statement to this formula where if {LimitCash} = zero then 100?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum