It's all in the title.
On the web2 calc you can just type in the | symbol off your keyboard. It is above the backslash. :)
eg
$${\left|-{\mathtt{6}}\right|} = {\mathtt{6}}$$