OCLOperators toInteger () : Integer
m ((username removed) (log details removed): Moving to Documentation namespace)
(Automatically adding template at the end of the page.)
 
Line 15: Line 15:
|}
|}
[[Category:OCL String Operators]]
[[Category:OCL String Operators]]
{{Edited|July|12|2024}}

Latest revision as of 15:43, 10 February 2024

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 97 days ago on 02/10/2024. What links here