07-18-2024, 11:45 AM
AB,
I faced the same issue of adding numbers as strings.
Here is how I did it, making the first character a non numeric chaharacter, then removing it after adding the numeric data. Also using brackets to make sure some number operations are performed as required.
I faced the same issue of adding numbers as strings.
Here is how I did it, making the first character a non numeric chaharacter, then removing it after adding the numeric data. Also using brackets to make sure some number operations are performed as required.
Code:
data = "X"
data = data+(H/360)+LDText.LF+(S)+LDText.LF+(L)+LDText.LF+(R/255)+LDText.LF+(G/255)+LDText.LF+(B/255)
data = Text.GetSubTextToEnd(data,2)