views:

60

answers:

2

I have a coldfusion app in which I calculate the number remaining of a certain object.

So I have a integer... like 9.

But I need to print it to the screen in text form.... like nine.

Is there a built in function to do this? I googled and couldn't find one.

+1  A: 

No. I'm afraid there is no built in function for this.

You'd need to write a user defined function or method in a cfc to do this for you.

Stephen Moretti
+6  A: 

Steven is correct, the direct answer is that there is no built in function for this but here is a UDF you can play with NumberAsString

kevink
You know I hunted high and low for that on CFLib before posting my comment, but couldn't find it and ended up giving up.
Stephen Moretti