I understand from THIS question that the current font size can be determined.
But how can I convert this to a length value?
\documentclass[10pt,a4paper]{article}
\newlength{\mytextsize}
%This part fails....
\makeatletter
\setlength{\mytextsize}{\f@size pt}
\makeatother
\begin{document}
%do something.
\end{document}
In other words, I want to use the 10pt declared in the \documentclass{...}
elsewhere.