OCLOperators toInteger () : Integer

toInteger () : Integer

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 more than 6 months ago on 06/17/2024. What links here