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!

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

  • @Shane I have some problems with the english language so perhaps I don't take the good way – Alain Matthes Mar 31 '11 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! – 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.