What is the 'correct' way to add two string values together? For various reasons that I won't go into I have to add 2 string values together and assign to a third string, something like:
which results in str3 = "6".
Is it necessary to assign the string to doubles and then use numberformat2 to convert the result back to a string, eg
B4X:
str1 = "6.50"
str2 = "0"
str3 = str1 + str2
which results in str3 = "6".
Is it necessary to assign the string to doubles and then use numberformat2 to convert the result back to a string, eg
B4X:
dbl1 = str1 : dbl2 = str2
dbl3 = dbl1 + dbl2
str3 = NumberFormat2(dbl3,0,2,2,True)