OCLOperators strToInt

Returns an Integer of value equal to self, or |invalid| if self does not represent an integer.

Expression Result
'3.0'.toInteger() invalid
'4'.toInteger() 4
'toInteger'.toInteger() invalid
This page was edited 66 days ago on 02/10/2024. What links here