outNum = finalResult & '%'
& is the concatenation operator in CF (yeah, i know...it can be annoying) :)
charlie
- Original Message -
From: "Owens, Howard" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, January 17
TED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, January 17, 2003 7:29 PM
Subject: UDF question -- make num a string
> I'm trying to do a little UDF to convert something like .77809 to 78%
>
> If I do something like:
>
> outNum=finalResult + '%
age-
From: Owens, Howard [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 17, 2003 4:29 PM
To: CF-Talk
Subject: UDF question -- make num a string
I'm trying to do a little UDF to convert something like .77809 to 78%
If I do something like:
outNum=finalResult + '%';
I get an er
outNum = finalResult & '%';
Robert Bailey
[EMAIL PROTECTED]
"Famous for nothing!"
http://www.tinetics.com
-Original Message-
From: Owens, Howard [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 17, 2003 4:29 PM
To: CF-Talk
Subject: UDF question -- make num
I'm trying to do a little UDF to convert something like .77809 to 78%
If I do something like:
outNum=finalResult + '%';
I get an error that says "cannot convert % to a number" ...
well, I don't want it to be a num. I want it to be a string. I can't find a
way to get a string output in the retu
5 matches
Mail list logo