| 142 | } |
| 143 | |
| 144 | String add(const ArgRef& other) const |
| 145 | { |
| 146 | String s = toString(); |
| 147 | if(isFloat(s)) { |
| 148 | return String(s.toFloat() + String(other).toFloat()); |
| 149 | } |
| 150 | if(isNumber(s)) { |
| 151 | return String(s.toInt() + String(other).toInt()); |
| 152 | } |
| 153 | return s + String(other); |
| 154 | } |
| 155 | |
| 156 | String sub(const ArgRef& other) const |
| 157 | { |