Division Operator: Case Zero

Hi.

i have made a blueprint and a A/B Operator.

What happens, if B=0.

If it cause an error, how can i solve this.

I would appreciate a solution like: A/B = 0, if B=0.

Thanks in advance.

Hi sgwave,

If it cause an error, how can i solve this.

I would appreciate a solution like: A/B = 0, if B=0.

Probably you have already test it, but i’ll answer anyway. May be it will be usefull to someone in future.

In Blueprints It will be as you wrote in your question.

A / B; if B == 0; then A / B = 0;

Regards,

I haven’t test it yet :smiley:

Great. So my blueprint can remain small :smiley:

Thanks