This is something I've picked up from this list.

cleanNumber = rereplace(vartocleanup, "[^0-9\.]+", "", "ALL")



HTH,,

Sean G.


-----Original Message-----
From: S R [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 10, 2000 3:24 PM
To: [EMAIL PROTECTED]
Subject: Comma/Number Problem


Hi,

I am trying to add a bunch of numbers to get a total value. It works fine 
unless someone uses a comma to separate 'thousands':

Ex. 10,500

How do I get rid of the comma before I add it up??

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to