Fix decimal issue

Fix issue where decimal could be placed multiple times in a number.