Tally List : mailing list management, archiving, and analysis
click for archive home
 
Archive of:
CF-Talk
Cold Fusion - Technical
 
home
24 hour view
quick stats
weekly updates
 
all tallylists
corporate solutions
archive your favorite
help / feedback


Search the Tallylist search by keyword:

About Cold Fusion :
product's home
product's list home
 
  Archived TallyList / CF-Talk: 
Subject: RE: Number to String?
Arden Weiss (85p/+0r)     Posted: Monday 12 Mar 2001
This post: 48 views, +0 rating

there is both a tostring() and a val() function in 4.5.1 Also, I thing the following works...

String = number + ""

and

Number = string * 1 or Number = string - 0

^ / \__ ( @\___ / O / (_____/ /_____/ Whoof... 410-757-3487

-----Original Message----- From: Bryan Love [SMTP:BLove@xypoint.com] Sent: Monday, March 12, 2001 8:19 PM To: CF-Talk Subject: RE: Number to String?

You won't find reference to integer-to-string conversions because they do not exist. Cold Fusion was designed and written as a typeless language. There is no difference between a number and a string.

If you want to manipulate the zeros you may do so at any time without any conversion. What exactly are you trying to do?

Bryan Love ACP Internet Application Developer blove@xypoint.com

-----Original Message----- From: Bryan Rieger [mailto:bryan@trapeze.com] Sent: Monday, March 12, 2001 7:28 PM To: CF-Talk Subject: Number to String?

Hello,

Is it possible to convert a number to a string? For example, if I have the number 1 formatted as 00000001 and I wanted to convert that to a string "00000001" to then manipulate the '0's as characters. Is this possible? I can go from strings to integers, but I don't seem to be able to go the other way. I feel as though I'm missing something really basic - but I haven't found it in any reference.

Any help greatly appreciated.

Cheers, -- Bryan Rieger Developer Trapeze Media

http://www.trapeze.com/

"Give a man a match and he'll be warm for an hour... Set him on fire and he'll be warm for the rest of his life." Anonymous


Similar Subject Line Posts (+/- two weeks of this post)
RE: Number to String?  12 Mar 2001 (this post)   (48 v/ +0 r)
RE: Number to String?  12 Mar 2001   (37 v/ +0 r)
Number to String?  12 Mar 2001   (20 v/ +0 r)
Re: Number to String?  12 Mar 2001   (31 v/ +0 r)
Re: Number to String?  12 Mar 2001   (21 v/ +0 r)
 

Send a reply to the CF-Talk list!
click to send a reply! NOTE: Many lists will reject your post unless you have already registered with them. Also - don't forget the right account to send from (for those with multiple emails!)

Feedback: If this post was exceptionally helpful, please help by giving this post a positive review.

 

TallyList : copyright Ububik - 2000