-
MathType
-
Wiris Quizzes
-
Learning Lemur
-
CalcMe
-
MathPlayer
-
Store FAQ
-
VPAT for the electronic documentation
-
MathFlow
-
BF FAQ
Long division
Reading time: 1minThere are many different styles of long division used around the world. MathML has ten named styles, but the list is open-ended. All styles share how the intermediate steps are displayed, but differ in the placement of the divisor, result, and where lines are drawn. The default style is the style used in the U.S., Great Britain, and elsewhere.
Below are two examples that differ only in the style and what character is used for the decimal separator. Because the separator is typically set on the math
element, it is included in these examples.
![]() |
<math xmlns="http://www.w3.org/1998/Math/MathML"> <mlongdiv> <mn> 12 </mn> <mn> 16.5 </mn> <mn> 198 </mn> <msgroup position='1' shift='-1'> <msgroup> <mn> 12 </mn> <msline length='2'/> </msgroup> <msgroup> <mn> 78 </mn> <mn> 72 </mn> <msline length='2'/> <mn> 6.0 </mn> <mn> 6.0 </mn> </msgroup> <msgroup position='-1'> <!-- extra shift to move to the right of the "." --> <msline length='3'/> <mn> 0 </mn> </msgroup> </msgroup> </mlongdiv> </math> |
![]() |
<math xmlns="http://www.w3.org/1998/Math/MathML" decimalpoint=","> <mlongdiv longdivstyle='stackedrightright'> <mn> 12 </mn> <mn> 16,5 </mn> <mn> 198 </mn> <msgroup position='1' shift='-1'> <msgroup> <mn> 12 </mn> <msline length='2'/> </msgroup> <msgroup> <mn> 78 </mn> <mn> 72 </mn> <msline length='2'/> <mn> 6,0 </mn> <mn> 6,0 </mn> </msgroup> <msgroup position='-1'> <!-- extra shift to move to the right of the "," --> <msline length='3'/> <mn> 0 </mn> </msgroup> </msgroup> </mlongdiv> </math> |