Rounding p-adic Rationals
Rounding p-adic Rationals
Rational -adic numbers share the same decimal notation and math as do repeating decimals. A vinculum (or overbar) is also allowed in -adic number notation to indicate repeated digits. However, a nonzero vinculum must appear only on the leftmost digits, while normal repeating decimals use a vinculum only on the right. This Demonstration rounds to only repeating digits.
p
p
x
n