OCLOperators strToInt

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

This page was edited 68 days ago on 02/10/2024. What links here