Ensure malformed floats exclude trailing dot