You can usually represent absolute value using two vertical bars, which you can type on most keyboards. On a smart phone, you may have to click to a symbol menu in your phone's on-screen keyboard. Certain programming languages and typesetting systems such as LaTeX will have their own ways to display absolute value.

## Absolute Value Symbol

Video of the Day

The absolute value sign represents the distance of a number from zero. For a positive number, the absolute value is the same as the number itself, and for a negative number, it's the number without its minus sign.

Video of the Day

The absolute value is replaced by surrounding a numeral or variable with two vertical bars. You can often use the "|" to represent an absolute value if you're typing on a computer keyboard.

This symbol is also widely used in Unix systems, including Linux and macOS, where it's referred to as a "pipe." It's used to feed the output from one program into another. It also has various other meanings in various computer programming languages.

If you're going to be writing for an audience who might not be sure what the symbol means in context, you might want to explicitly explain it on first using the symbol.

## Typing the Absolute Value Sign

On most computer keyboards, you can find the "|" symbol above the backslash, which looks like "". To type it, simply hold down the shift key and strike the backslash key.

On a smart phone, you will likely need to hit a symbols key to access this symbol with a few extra taps.

If you find you're frequently hunting for mathematical symbols on your smart phone, you can often install a special math keyboard plugin to make them easier to find. Check your phone's app market for details.

## Absolute Value in LaTeX

Computer typesetting systems often have their own ways to represent certain symbols and mathematical concepts.

LaTeX is one popular typesetting system. You can type an absolute value symbol in LaTeX by typing "\mid" and it will be replaced by the symbol when you generate your output.

## Programming Languages

Many programming languages use the "|" symbol for something other than absolute value. For example, the C family of languages, including Java and JavaScript, uses "|" to represent bitwise or and "||" to represent logical or. The database language SQL uses "|" to represent string concatenation.

These languages will usually provide separate notation for an absolute value. For example, the Math.abs function in JavaScript will compute an absolute value.