Hi
Can you please review the forum rules regarging tags around code. I've edited your post for you this time.
The truncation is the result of the double number type. If you convert the type to String and change the last line to be
then it will output all the numbers.![]()
ExtractNumber = lNum
HTH
rylo
Bookmarks