How do you write a decimal with a repeating bar over it?

1 Answer
Dec 20, 2017

The keyword for the bar over a character is: bar
You can use parenthesis to make a bar over more than one character.

Explanation:

To write just one number with a bar over it you do the following:

x = 1.23bar4

When surrounded by hashtags, the above looks like this:

#x = 1.23bar4#

You can use parenthesis to put the bar over more than one number:

x = 1.2bar(34)

When surrounded by hastags, it looks like this:

#x = 1.2bar(34)#

The bar keyword works on any character; not just numbers:

#x = bar(a@&P')#

This works great to indicate the NOT operation in boolean logic equations :

#f = a*barb+bara*b#

I hope that this helps.