OCLOperators strToInt
No edit summary
Line 15: Line 15:
|}
|}
See also [[OCLOperators Parse|Parse]]
See also [[OCLOperators Parse|Parse]]
[[Category:OCLOperators]]

Revision as of 12:47, 7 December 2022

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