Hello,
It seems that the "no formatting" method is being overruled when math is being applied in the advanced strings method.
I noticed it when removing recalculated grid coordinates from a map didn't seem to work.
log:
d0=4 - d1:4 - sy:4 - sx=4 dy=0.0 - dx:0.0
d0=4 - d1:4 - sy:4 - sx=4 dy=0 - dx:0
notice the 0.0 on the substracted values
It seems that the "no formatting" method is being overruled when math is being applied in the advanced strings method.
I noticed it when removing recalculated grid coordinates from a map didn't seem to work.
B4X:
Log($"d0=${data2(0)} - d1:${data2(1)} - sy:${sy} - sx=${sx} dy=${data2(0)-sy} - dx:${data2(1)-sx}"$)
Log($"d0=$1.0{data2(0)} - d1:$1.0{data2(1)} - sy:$1.0{sy} - sx=$1.0{sx} dy=$1.0{data2(0)-sy} - dx:$1.0{data2(1)-sx}"$)
log:
d0=4 - d1:4 - sy:4 - sx=4 dy=0.0 - dx:0.0
d0=4 - d1:4 - sy:4 - sx=4 dy=0 - dx:0
notice the 0.0 on the substracted values