Found my error for the moment.
Printable View
Found my error for the moment.
Well, the error message is clear enough, I think: not all paths (through the function) return a value. For instance, if you call numbervalue with something other than zero, you will never return a value (the only return statement is in the ==0 case). So you need to make sure that you are returning the string you are building.
Do not edit your post and remove the original question. Now we have a thread that no one can understand.
Closed.