Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert to number

Status
Not open for further replies.

mart10

MIS
Nov 2, 2007
394
GB
I am using CR XI

How do I convert 12345 (text) to a number eg 12345.00 which I can then do sumation on in a grouping

thanks
 
tonumber(numericstring)

this will fail if non numeric

You can do

If isnumeric(numericstring) then tonumber(numericstring)
els 0

Ian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top