OCLOperators ToReal () : Real
No edit summary
No edit summary
Line 15: Line 15:
|}
|}
[[Category:OCLOperators]]
[[Category:OCLOperators]]
[[Category:OCL String Operators]]

Revision as of 07:10, 12 April 2023

Returns a Real of value equal to self, or |invalid| if self does not represent a real.

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