/ Get the integer value represented by the Strp string. */ /
| 1309 | /* Get the integer value represented by the Strp string. */ |
| 1310 | /***********************************************************************/ |
| 1311 | int TYPVAL<PSZ>::GetIntValue(void) |
| 1312 | { |
| 1313 | bool m; |
| 1314 | ulonglong val = CharToNumber(Strp, strlen(Strp), INT_MAX32, false, &m); |
| 1315 | |
| 1316 | return (m && val < INT_MAX32) ? (int)(-(signed)val) : (int)val; |
| 1317 | } // end of GetIntValue |
| 1318 | |
| 1319 | /***********************************************************************/ |
| 1320 | /* Get the unsigned integer value represented by the Strp string. */ |