Navigation
Synopsis Convert a numeric value to a real.
Function real toReal(num N)
Usage import util::Math;
Examples
rascal>import util::Math;
ok
rascal>toReal(12)
real: 12.
rascal>toReal(3.14)
real: 3.14
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.