\begin{lemma}[First fractional decimal digit]
Let $L$ be a nonempty list of natural-number decimal digits with nonzero last
digit, let $q<|L|$, and write $E$ for base-ten left-fold evaluation.  Put
\[
 N=E(\operatorname{take}(q,L)),\qquad
 V=E(L)10^{q-|L|},\qquad f=L_q.
\]
Then $N\leq V<N+1$.  Moreover, $f<5$ implies $V<N+1/2$, and $f>5$ implies
$V>N+1/2$.  If $f=5$, then $q+1=|L|$ implies $V=N+1/2$, while
$q+1<|L|$ implies $V>N+1/2$.
\end{lemma}
\begin{proof}
Split $L$ after its first $q$ digits.  Applying
\noderef{NumberHelperDecimalPrefixInterval} to that prefix and suffix, with
exponent $q-|L|$, gives $N\leq V<N+1$ because the exponent plus the suffix
length is zero.

Split instead after digit $q$.  The value of this longer prefix is
$10N+f$, and the corresponding exponent plus suffix length is $-1$.
The same prefix-interval lemma therefore gives
\[
 \frac{10N+f}{10}\leq V<\frac{10N+f+1}{10}.             \tag{1}
\]
If $f<5$, then $f\leq4$ and the upper inequality in (1) yields
$V<N+1/2$.  If $f>5$, then $f\geq6$ and the lower inequality yields
$V>N+1/2$.

Suppose $f=5$.  When $q+1=|L|$, the suffix after $f$ is empty, so direct
base-ten evaluation is exactly $(10N+5)/10=N+1/2$.  Otherwise let $R$ be
the nonempty suffix after $f$.  Its last digit is also the last digit of $L$
and is nonzero.  Induction from the last cell, using nonnegativity of all
digits, shows that its base-ten value $E(R)$ is positive.  The exact fold
decomposition is
\[
 E(L)=(10N+5)10^{|R|}+E(R).
\]
After multiplication by $10^{q-|L|}$ the first term is $N+1/2$, while the
second is positive.  Hence $V>N+1/2$, as required.
\end{proof}
