OCLOperators ToReal () : Real
This page was created by Peter on 2019-11-22. Last edited by 62.169.16.147 on 2026-09-12.
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 |
