extract decimal portion of a number

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to extract the decimal portion of a number....any ideas how?

for example, I have a SINGLE variable that will read, for example, 10.83.

Hope do extract the decimal (.83) portion and place into a seperate variable
for processing.

Thx
 
Ed said:
I need to extract the decimal portion of a number....any ideas how?

for example, I have a SINGLE variable that will read, for example,
10.83.

Hope do extract the decimal (.83) portion and place into a seperate
variable for processing.

Thx

Example:

v = 10.83
Debug.Print v - Fix(v)
 

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

Back
Top