\documentclass{article}
\usepackage{amssymb,mathtools}
\usepackage{tkz-tab}
\usepackage[np]{numprint}
\usepackage[group-minimum-digits=4]{siunitx}
\sisetup{locale=FR}
\usepackage{xintexpr}
\usepackage{xstring}

\newcommand\convertfrac[1]{%
	\def\argument{#1}
	\def\calculargument{\xintPRaw{\xintIrr{\argument}}}
	\IfSubStr{\calculargument}{/}%SI FRACTION
	{\StrBefore{\calculargument}{/}[\numerateur]%
		\StrBehind{\calculargument}{/}[\denominateur]%
		\frac{\numerateur}{\denominateur}
	}
	{\num{\calculargument}}%SI ENTIER
}

\newcommand\apmun[1]{%
	\def\coeffa{#1}
	\IfStrEq{\coeffa}{1}{}{\IfStrEq{\coeffa}{-1}{-}{\num{\coeffa}}}
}

\newcommand\bzero[1]{%
	\def\coeffb{#1}
	\IfStrEq{\coeffb}{0}{}{\num{\coeffb}}
}

\newcommand\TabSignes[3][]{%
	\ifdim#2 pt>0 pt \def\signav{-}\def\signap{+} \else \def\signav{+}\def\signap{-} \fi
	\ifdim#3 pt>0 pt \def\signb{+} \else \def\signb{} \fi
	\begin{tikzpicture}
		\tkzTabInit[#1]{$x$/.8,$\apmun{#2}x\signb\bzero{#3}$ /.8}{$-\infty$,$\convertfrac{-#3/#2}$,$+\infty$};
		\tkzTabLine{,\signav,z,\signap,}
	\end{tikzpicture}
}

\begin{document}

\medskip

\TabSignes{2}{+5}

\medskip

\TabSignes{2}{-5}

\medskip

\TabSignes{-2}{+5}

\medskip

\TabSignes{-6}{-11}

\medskip

\TabSignes{0.1}{-0.26}

\medskip

\TabSignes{3}{-9}

\medskip

\TabSignes[lgt=3]{-0.26}{0.1}

\medskip

\TabSignes{1}{-5}

\medskip

\TabSignes{-1}{0.4}

\medskip

\TabSignes{-1}{0}

\end{document}