How to initialize zero for Boolean variable?

If you need to give the condition with the datatype try like this

Condition is StrOut.GetType is GetType(System.String)

If Activity Method

if Assign method
image

Expression: if(StrOut.GetType is GetType(System.String),“0”,StrOut)

Regards
Sudharsan