"35" + "-15"
actually evaluates to "35-15" (because both arguments are text, the +
operates the same way as &
would) not to 20.friend, but the error only occurs when the account value is 0, in the other forms I have the formulas exactly the same and as the result is not 0 the formula results and assumes the correct valueYour variables contain text, which is what causes the error."35" + "-15"
actually evaluates to "35-15" (because both arguments are text, the+
operates the same way as&
would) not to 20.
and my variable is set to "variant"Your variables contain text, which is what causes the error."35" + "-15"
actually evaluates to "35-15" (because both arguments are text, the+
operates the same way as&
would) not to 20.
but if i put the value of the variables as integer when the value is empty it as the type is "integer" it will always assume the value as "0" right? Is that in my program the variable can be empty, how can I solve the problem like that?And your variants contain text.
review the answer please i editedIn the pictures you posted, the calculation is not 0.