Navigation
Synopsis Convert a numeric value to a string.
Function str toString(num N)
Usage import util::Math;
Examples
rascal>import util::Math;
ok
rascal>toString(12)
str: "12"
rascal>toString(3.14)
str: "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.