Basic Examples (2)
All rational numbers result in recurring decimal digits:
RecurringDecimalForm displays this in a more compact notation:
Scope (5)
RecurringDecimalForm accepts any input that is numeric:
RecurringDecimalForm ignores repeating zeros:
For numeric quantities, a repeating sequence in the final digits (excluding the last digit, which is subject to rounding) is assumed to be recurring:
For exact numeric quantities that are not explicitly Rational, RecurringDecimalForm searches the first $MaxExtraPrecision digits:
Recurring digits can be found in other number bases:
Options (3)
There are several notations for the display of recurring digits used in different parts of the world:
Digit sequences that repeat at least three times are assumed to be recurring:
The option "MinRepeats" controls this sensitivity:
By default, the final digit is assumed to be subject to rounding and is ignored:
In some circumstances, more digits are affected by rounding:
You can ignore more digits with "RoundingDigits":
Possible Issues (4)
By default, the final digit is assumed to be subject to rounding and is ignored:
In some circumstances, more digits are affected by rounding:
In these circumstances, RecurringDecimalForm will not recognize the repeat:
You can ignore more digits with "RoundingDigits":