ID:140398
 
Code:
world << num2text("1")


Problem description:
This returns a 0 and I expected a 1.
Lcooper wrote:
Code:
> world << num2text("1")
>

Problem description:
This returns a 0 and I expected a 1.


Read the proc: "num2text()"
Break it apart: "number to text"
You're giving it text...why would it turn text to text?

If it turns a number to text, you're probably supposed to pass a number, not text.
In response to Kuraudo
I have a function that returns either text or a num but i need to convert it to text if it is a num.
EDIT: Found istext() and isnum() functions.