Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
This expression is giving divide by zero error
Your if test is looking for all of Pe to be zero. Here's one way of overcoming this:
Alan
Whats the matter?
The very same question was already answered here: