Converting numbers to strings
Numbers are automatically converted to strings when interpolated into a string. The automatic conversion uses decimal (base 10) notation.
You can also cast a number into a string directly, by declaring a new String
object.
Examples:
$from_integer = String(342) $from_float = String(3.14159)
To convert numbers to non-decimal string representations, use the sprintf function.