function numberToString($num){
return "$num"; // strval($num) or cast to string, i.e. (string) $num
}
We need a function that can transform a number into a string.
What ways of achieving this do you know?
123 --> "123"
999 --> "999"
function numberToString($num){
return "$num"; // strval($num) or cast to string, i.e. (string) $num
}