# Decimal points in exam class

I would like to have decimal half points, not fractions, in the exam class. How can I obtain this?

MWE:

\documentclass[]{exam}

\begin{document}
\begin{questions}
\question[\half] This is a question.
\end{questions}
\end{document}


This is one possibility \renewcommand*\half{.5}

Code

\documentclass[]{exam}
\renewcommand*\half{.5}
\begin{document}
This exam has \numquestions\ questions, for a total of \numpoints\
points and \numbonuspoints\ bonus points.
\begin{questions}

• I use \renewcommand*\half{\!,5} (comma for german documents). The negative space \! cancels the space after the integer part. Otherwise you get something like 4 ,5 instead of 4,5. Sep 17, 2019 at 11:18