”;
Decimal numbers having digit(s) that repeat(s) infinitely such as 1/3 (.3333…) are represented by putting a horizontal line over or below the digits that repeat. <mstack> , <msrow>, and <msline> elements can be used to create decimal numbers with repeated digits as shown below.
Example
Example 1
<math xmlns = "http://www.w3.org/1998/Math/MathML"> <mstack stackalign = "right"> <msline length = "1"/> <mn> 0.3333 </mn> </mstack> </math>
Output
Example 2
<math xmlns = "http://www.w3.org/1998/Math/MathML"> <mstack stackalign="right"> <msline length="6"/> <mn> 0.142857 </mn> </mstack> </math>
Output
Example 3
<math xmlns = "http://www.w3.org/1998/Math/MathML"> <mstack stackalign="right"> <mn> 0.142857 </mn> <msline length="6"/> </mstack> </math>
Output
Advertisements
”;