8

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!

1 Answer 1

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}

enter image description here

8
  • @Shane I have some problems with the english language so perhaps I don't take the good way Mar 31, 2011 at 9: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! Mar 31, 2011 at 13:16
  • I can ask the author I know. There is a documentation in English. Mar 31, 2011 at 15:08
  • That would be awesome - thanks so much for your help! Mar 31, 2011 at 15:23
  • @Altermundus is there a version that looks like 3)`3`````?
    – azetina
    Feb 21, 2012 at 18:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .