OCLOperators strToInt
(Replacing message template with parser tag)
(Updated Edited template to July 12, 2025.)
 
(One intermediate revision by one other user not shown)
Line 15: Line 15:
|''invalid''
|''invalid''
|}
|}
See also: [[OCLOperators Parse|Parse]]
See also: [[Documentation:OCLOperators Parse|Parse]]
[[Category:OCLOperators]]
[[Category:OCLOperators]]
{{Edited|July|12|2024}}
{{Edited|July|12|2025}}

Latest revision as of 05:58, 20 January 2025

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