Skip to content

Commit

Permalink
Divide before mod and only mod by 10 instead of 100
Browse files Browse the repository at this point in the history
Signed-off-by: Y. Meyer-Norwood <[email protected]>
  • Loading branch information
norwd authored Jan 6, 2025
1 parent a34b0bf commit bb9fc16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layout/hp-format.tex
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
% Fake Esperanto NUMBERstring support in fmtcount
% https://tex.stackexchange.com/a/578200
\renewcommand{\NUMBERstringnum}[1]{%
\ifcase\divide\intcalcMod{#1}{100} by 10\relax % Case 0.
\ifcase\intcalcMod{\divide#1 by 10}{10}\relax % Case 0.
\or DEK % Case 1.
\or DUDEK % Case 2.
\or TRIDEK % Case 3.
Expand Down

0 comments on commit bb9fc16

Please sign in to comment.