You don't need to do type conversion in ColdFusion like that. You can just use the string functions.
> -----Original Message----- > From: Andy Chen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 12, 2007 2:30 PM > To: CF-Talk > Subject: Re: remove a number from a series of numbers > > Yup... convert it to a string using the ToString(). Remove the > digit/char you want using RemoveChars() and use Val() to convert it > back into a number. > > > >Hi, > > > >Is it possible to remove a digit from a multi-digit number IE: > >2007 would become 207? > > > >Thanks, > > > >John > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288300 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

