Doing this because as the user can enter either th...
# suitescript
i
Doing this because as the user can enter either the number with or without %, first I thought about using getText and then
headerItemDiscountRateText.includes('%)
, but got an error
You must use getValue to return the value set with setValue
when setting it without the % so I changed it to getValue expecting both variables to be the same but no, or I-ve been looking at it for so long that I don't recognize anything different haha