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
Expression: if(StrOut.GetType is GetType(System.String),“0”,StrOut)
Regards Sudharsan