Getting numbers on the right side of the decimal point

T

Tigerxxx

What formula can I use to get the numbers on the right side of the decimal?
i.e. for a number 6.25, the result of the formula should be 25.

Thank you
 
P

Peo Sjoblom

If you always want the number of decimals as integers like if you have

0.12345

and you want

12345

=MOD(A1,1)*(1&REPT("0",LEN(MOD(A1,1))-2))

--


Regards,


Peo Sjoblom
 
J

John C

=RIGHT(A1,LEN(A1)-FIND(".",A1))

It is now 'text', but will keep any preceding zeroes (i.e.: 3.057 = 057) and
will avoid the bad rounding that otherwise might occur.
 
D

Dave Peterson

If none of the suggestions work for you, you may want to explain what you want
when the original number is:

6.5

Do you want 5, 50, 500, ...
 
T

Tigerxxx

Thank you All!
Your solutions helped me!

Dave Peterson said:
If none of the suggestions work for you, you may want to explain what you want
when the original number is:

6.5

Do you want 5, 50, 500, ...
 

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