Both cases are covered: All floats also start with either a `-` or a number, therefore `strspn` will return > 0.