The following is the output of this MWE:
\documentclass[12pt]{article}
\usepackage[version=4]{mhchem}
\usepackage{siunitx}
\begin{document}
\ce{a = 2 \times 3}\\
\ce{a = 2 \div 3}\\
\ce{a = 2 \times b}\\
\ce{a = 2 \div b}
\end{document}
Note how the character is subscripted only when the character after theoperator is a number.
How would I prevent the number from being subscripted?

\cehas a very specific use and a very specific input syntax – daleif Dec 20 '18 at 09:31\cebefore inputting the numbers? – George Tian Dec 20 '18 at 09:33