Does anyone know of a package or macro that handles decimal long division? For example, I want to convert 3/8 to a decimal and show all of the steps. I found a macro for longdiv that works great for integers, but was wondering if anyone knew of something that worked with decimals. If this doesn't exist yet, how would I go about writing something to do this? Thanks!
Asked
Active
Viewed 4,706 times
1 Answers
10
With a french presentation (options for other countries will be in the next version 0.3):
\documentclass[]{article}
\usepackage{xlop}
\begin{document}
\opdiv{3}{8}
\opdiv{22}{7}
\end{document}

Alain Matthes
- 95,075
-
@Shane I have some problems with the english language so perhaps I don't take the good way – Alain Matthes Mar 31 '11 at 09:05
-
This is really cool - I am hoping to have an English version at some point - do you know when the version will be ready? Thanks! – Shane Fulmer Mar 31 '11 at 13:16
-
I can ask the author I know. There is a documentation in English. – Alain Matthes Mar 31 '11 at 15:08
-
That would be awesome - thanks so much for your help! – Shane Fulmer Mar 31 '11 at 15:23
-
@Altermundus is there a version that looks like 3)`3`````? – azetina Feb 21 '12 at 18:58
-
@azetina What do you mean by 3)? – Alain Matthes Feb 21 '12 at 19:11
-
@Altermundus look at this link. I wanted to post a new question but this one popup when typing it. – azetina Feb 21 '12 at 19:20
-
@azetina For me no but I'm not sure. There are a lot of new packages each day – Alain Matthes Feb 21 '12 at 19:23