\documentclass[english]{article}
\IfFileExists{eco.sty}{%
  \usepackage{eco}
}{%
  \typeout{Package file eco.sty not found
    (The example will be less clear than possible)}
}
\usepackage{babel}
\usepackage[autolanguage]{nbaseprt}
\begin{document}
\nbaseprint{0x123456f}

\nbaseprint{"3453}

\nbaseprint{'3453}

\nbaseprint{3453h}

\nbaseprint{3453o}

\nbaseprint{3453H}

\nbaseprint{12345678}

\nbaseprint{123456}

\nplpadding{5}
\nbaseprint{0d3453}

\nbaseprint{0x1}

\nbaseprint{0x12}

\nbaseprint{0x123}

\nbaseposttext
\nbaseprint{0x1234}

\nbaseprint{0x12345}

\nbaseprint{0x123456}

%\nbaseprint{\thepage}

%$\nbaseprint{\thepage}$

``\nbaseprint{0x123456}''

``\nbaseprint{0x+123456}''

``\nbaseprint{0x-123456}''

``\nbaseprint{0x+-123456}''

``\nbaseprint{0x\pm 123456}''

``\nbaseprint{-0x123456}''

``\nbaseprint{-0b123456}''

\end{document}
