This part works fine:
mob/verb/test()
var/word = input("Enter a word please") as text
src << "The word has [length(word)] characters"
However I cannot seem to find a way for this:
mob/verb/test()
var/number = input("Enter a number please") as num
src << "The number has [length(number)] digits"
That is an example of what I am trying to do, however length() only seems to be working with text. How would I get it to work with numbers, or is there another way to do it?
Thanks, Zythyr.