How to include \sqrt{8}
inside \qty{...}{\metre}
?
My Code:
\documentclass{article}
\usepackage{siunitx}
\begin{document}
% works
$\sqrt{8}$
% works
$\qty{8}{\meter}$
% does not work!
$\qty{\sqrt{8}}{\meter}$
\end{document}
My Result: