\documentclass{article}
\usepackage{xepersian}
\settextfont{Yas}
\setdigitfont{Yas}
\begin{document}
\newcount\firstcount
\section{جمع}
\firstcount=8
\advance \firstcount by 23
حاصل \(8+23\) برابر است با:
\(\the\firstcount\)
\section{تفریق}
\firstcount=56
\advance\firstcount by -26
حاصل \(56-26\) برابر است با: 
\(\the\firstcount\)
\section{ضرب}
\firstcount=225
\multiply \firstcount by 6
حاصل \(225\times6\) برابر است با :
\( \the\firstcount\)
\section{تقسیم}
\firstcount=500
\divide\firstcount by -5
حاصل \(500\div-5\) برابر است با: \(\the\firstcount\)
\end{document}