TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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!

share|improve this question
up vote 9 down vote accepted

With a french presentation (options for other countries will be in the next version 0.3):




enter image description here

share|improve this answer
@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 posting your answer, you agree to the privacy policy and terms of service.

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