world << num2text("1")
Problem description:
This returns a 0 and I expected a 1.
ID:140398
Jan 23 2010, 7:52 pm (Edited by moderator on Jan 23 2010, 8:03 pm)
|
|
Code:
world << num2text("1")
Problem description: This returns a 0 and I expected a 1. |
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. |
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.