Search found 1 match
- Sat Mar 18, 2023 5:43 am
- Forum: Help Forum
- Topic: how to set a variable type as number?
- Replies: 1
- Views: 122
how to set a variable type as number?
when i use trigger Regex, i intend to get variable by doing the following: regex(****(\d+)**) dodge_current=matches[2] if (\d+)=200, this can set the variable "dodge_current" to 200. however the type of dodge_current is a string, so when i try to write an if syntax: if dodge_current<300 th...