getrealvalue
getrealvalue |
Purpose
Get real contained within
basicvalue
Synopsis
function xreflect~getrealvalue( bv:xreflect~basicvalue ):real
Argument
bv
|
The basicvalue to query
|
Return value
The floating point value from the basicvalue
Example
The following:
myval := basicvalue(17.5) writeln('realvalue=',myval.realvalue)
produces this output:
realvalue=17.5
Further information
If the referenced
basicvalue does not contain a real, a reasonable type conversion will be applied.
Related topics