OCLOperators strToInt
No edit summary
No edit summary
Line 14: Line 14:
|''invalid''
|''invalid''
|}
|}
See also [[OCLOperators Parse|Parse]]
See also: [[OCLOperators Parse|Parse]]
[[Category:OCLOperators]]
[[Category:OCLOperators]]

Revision as of 07:31, 6 March 2023

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

This page was edited 73 days ago on 02/10/2024. What links here