Column format from text to numeric

T

Tommy

Dear All,

I have a data column in string format. The data shows "000012345" presenting
123.45. My question is how can i convert it from the string format to
numeric format so that I can make some calculations on it.

Thank you!!
 
A

Arvin Meyer [MVP]

?CDbl("000012345")/100
123.45

or in a query:

Select CDbl([MyStringField])/100 As Converted From My Table;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top