fix float scanning of certain values ending in zeros