OCLOperators strToInt
(Adding message template to the top of the page) |
(Replacing message template with parser tag) |
||
Line 1: | Line 1: | ||
<message>Write the content here to display this box</message> | |||
Returns an Integer of value equal to ''self'', or |invalid| if ''self'' does not represent an integer. | Returns an Integer of value equal to ''self'', or |invalid| if ''self'' does not represent an integer. |
Revision as of 07:52, 17 June 2024
This page was created by Peter on 2019-11-22. Last edited by Edgar on 2025-01-20.
Returns an Integer of value equal to self, or |invalid| if self does not represent an integer.
Expression | Result |
---|---|
'3.0'.strtoint | invalid |
'4'.strtoint | 4 |
'toInteger'.strtoint | invalid |
See also: Parse