Just for fun. Of course the link @Werner gave you is a good start. Notice that what I did was just to play around with someone else's code. See MWE below:

\documentclass{article}
\newcommand\frenchdiv[2]{%
$\strut#1$\kern.25em\smash{\raise-.35ex\hbox{\rule{0.4pt}{2ex}}}$\mkern-0.72mu
\underline{\,#2}$}
\begin{document}
\frenchdiv{56}{3678}\quad\frenchdiv{3}{37678}
\end{document}
Taking now the following code an playing around with the node anchors, we have the following MWE:
\documentclass{article}
\usepackage{tikz}
\newcommand\nfrenchdiv[2]{#1\,%
\tikz[baseline=(n.base)]{\node(n)[inner sep=1pt]{$#2$};
\draw[line cap=round](n.north west)--(n.south west)--(n.south east);
}
}
\begin{document}
$\nfrenchdiv{56}{3678}$
\end{document}
Note that this command may not be robust. So, wait for other possible responses and choose the best that suites your needs.