Page 1 of 1

get the last digits from a number

Posted: Mon Jul 20, 2009 4:59 pm
by nologin666
Hello dear,
Can somebody help me to get the last digits from numbers like:
90000007 - needed result 7
90012001 - needed result 12001
90000010 - needed result 10
90009010 - needed result 9010

etc....

Re: get the last digits from a number

Posted: Mon Jul 20, 2009 5:52 pm
by McInfo
Math?

Code: Select all

90009010 - 90000000 = 9010
Edit: This post was recovered from search engine cache.

Re: get the last digits from a number

Posted: Mon Jul 20, 2009 6:02 pm
by nologin666
Ha!
Thank You!
Very simple...
I did not remember for that....
I was looking for regular expresions and so ever!
Very cool solution for particular case!

Thank You!

Re: get the last digits from a number

Posted: Mon Jul 20, 2009 6:16 pm
by McInfo
:wink:

Edit: This post was recovered from search engine cache.

Re: get the last digits from a number

Posted: Mon Jul 20, 2009 6:43 pm
by Christopher
McInfo is like magic! :D

Re: get the last digits from a number

Posted: Mon Jul 20, 2009 7:13 pm
by Benjamin
Funny stuff :)

Re: get the last digits from a number

Posted: Mon Jul 20, 2009 8:03 pm
by McInfo
arborint wrote:McInfo is like magic! :D
That has a ring to it. If I ever need a slogan, I'll remember that.

Edit: This post was recovered from search engine cache.