World Library  
Flag as Inappropriate
Email this Article

Number sign

Article Id: WHEBN0000059006
Reproduction Date:

Title: Number sign  
Author: World Heritage Encyclopedia
Language: English
Subject: GSM 03.38, Shebang (Unix), Hashtag, TI calculator character sets, C Sharp (programming language)
Publisher: World Heritage Encyclopedia

Number sign

Number sign

Number sign is a name for the symbol #, which is used for a variety of purposes, including (mainly in Canada and the United States) the designation of a number (for example, "#1" stands for "number one"). In recent years, it has been used for "hashtagging" on social media websites.[1]

The term number sign is most commonly used when the symbol is used before a number. In the United States, it is sometimes known as the pound sign, and has been traditionally used in the food industry as an abbreviation for pounds avoirdupois. Outside of North America the symbol is called hash and the corresponding telephone key is called the "hash key", and the term "pound sign" usually describes the British currency symbol "£". The symbol is defined in Unicode as U+0023 # number sign (HTML: # as in ASCII).

The symbol may be confused with the musical symbol called sharp (). In both symbols, there are two pairs of parallel lines. The main difference is that the number sign has two horizontal strokes while the sharp sign has two slanted parallel lines which must rise from left to right, in order to avoid being obscured by the horizontal musical staff lines.

Origin and usage and naming conventions in North America

Mainstream use in the United States is as follows: when it precedes a number, it is read as "number", as in "a #2 pencil" (spoken aloud as: "a number-two pencil"). A theory claims that back in early 1900s, the Teletype Corporation was the first to use # to mean "number".[2]

When the symbol follows a number, the symbol indicates weight in pounds. (Five pounds are indicated as 5#.)[3] This informal usage still finds handwritten use, and may be seen on some signs in markets and groceries. It is often claimed that the pound symbol derives from a series of abbreviations for pound, the unit of weight. The theory goes that at first "lb." was used; however, printers later designed a font containing a special symbol of an "lb" with a line through the verticals so that the lowercase letter "l" would not be mistaken for the numeral "1". Unicode character U+2114 l b bar symbol (HTML: ) is a cursive development of this symbol. Ultimately, the symbol was reduced for clarity as an overlay of two horizontal strokes "=" across two forward-slash-like strokes "//".[4] Keith Gordon Irwin, in The Romance of Writing, p. 125, says "The Italian libbra (from the old Latin word libra, 'balance') represented a weight almost exactly equal to the avoirdupois pound of England. The Italian abbreviation of lb with a line drawn across the letters [℔] was used for both weights.

An alternative theory is that the name “pound sign” is a result of the fact that character encodings have historically used the same code for both the hash symbol and the British pound sign "£". It is sometimes supposed that the problem originated in ISO 646-GB, but it seems more likely that it has its origin in Baudot code in the late 19th century.[2]

In Canada the symbol is commonly called the number sign. Major telephone-equipment manufacturers, such as Nortel, have an option in their programming to denote Canadian English, which in turn instructs the system to say "number sign" to callers instead of "pound sign".

Usage in the United Kingdom and Ireland

In the United Kingdom and Ireland, the symbol is most often called the hash (a corruption of "hatch",[5] referring to cross-hatching). It is never used to denote pounds weight (lb is used for this non-metric unit) or pounds sterling (where "£" is used). It is never called the "pound sign", because that term is understood to mean the currency symbol "£", for pound sterling or (formerly) Irish pound.

While the use of "#" as an abbreviation for "number" may be understood in Britain and Ireland by some, it is generally not used. Where Americans might write "Symphony #5", the British and Irish are more likely to write "Symphony No. 5", or perhaps use the numero sign "Symphony № 5".

To add to the confusion between "£" and "#", in BS 4730 (the UK national variant of the ISO/IEC 646 character set), 0x23 represents "£" whereas in ASCII (the US variant), it represents "#". It was thus common, when systems were incorrectly configured, for "£" to be displayed as "#" and vice versa.

Other names in English

The symbol has many other names (and uses) in English:

Comment sign
Taken from its use in many shell scripts and some programming languages (such as Python) to start comments.
In China, non-native English speakers often refer to the number sign as "cross". It is said as jĭng in Chinese, as it looks like the Chinese character for water well ("井").
Common usage in Singapore and Malaysia, as spoken by many recorded telephone directory-assistance menus: 'Please enter your phone number followed by the hex key'. The term 'hex' is discouraged in Singapore in favour of 'hash'.
Octothorp, octothorpe, octathorp, octatherp
Used by Bell Labs engineers by 1968.[6] Lauren Asplund says that he and a colleague were the source of octothorp at AT&T engineering in New York in 1964. The Merriam-Webster New Book of Word Histories, 1991, has a long article that is consistent with Doug Kerr's essay,[7] in that it says "octotherp" was the original spelling, and that the word arose in the 1960s among telephone engineers as a joke. The first appearance of "octothorp" in a US patent is in a 1973 filing which also refers to the six-pointed asterisk (✻) used on telephone buttons as a "sextile".[8]
Resemblance to the glyph used in music notation, U+266F (♯). So called in the name of the Microsoft programming languages C#, J# and F#. However Microsoft says "It's not the 'hash' (or pound) symbol as most people believe. It's actually supposed to be the musical sharp symbol. However, because the sharp symbol is not present on the standard keyboard, it's easier to type the hash ('#') symbol. The name of the language is, of course, pronounced 'see sharp'."[9] According to the ECMA-334 C# Language Specification, section 6, Acronyms and abbreviations, the name of the language is written "C#" ("LATIN CAPITAL LETTER C (U+0043) followed by the NUMBER SIGN # (U+0023)") and pronounced "C Sharp".[10]
Used in proof-reading to denote that a space should be inserted. This can mean
  1. a line space (the space between two adjacent lines denoted by line # in the margin),
  2. a hair space (the space between two letters in a word, denoted by hr #)
  3. a word space, or letter space (the space between two words on a line, two letter spaces being ##)
Em- and en-spaces (being the length of a letter m and n, respectively) are denoted by a square-shaped em- or en-quad character ( and , respectively).
Occasionally used in the UK (e.g. sometimes in BT publications and automatic messages) – especially during the Prestel era, when the symbol was a page address delimiter. The International Telecommunications Union specification ITU-T E.161 3.2.2 states: "The # is to be known as a 'square' or the most commonly used equivalent term in other languages."
crosshatch, (garden) fence, mesh, flash, grid, pig-pen, tictactoe, scratch (mark), (garden) gate, hak, oof, rake, crunch, punch mark,[11] sink, corridor, capital 3, and waffle.

In mathematics

In computing

  • In ARM assembly language it is used to denote an immediate value. This is one that can be evaluated during program compilation (usually a constant value).
  • In many scripting languages and data file formats, especially ones that originated on Unix, the # introduces a comment that goes to the end of the line. The combination #! at the start of an executable file is a "shebang" or "hash-bang", used to tell the operating system which program to use to run the script (see magic number). This combination was chosen so it would be a comment in the scripting languages.
  • In the Perl programming language, # is used as a modifier to array syntax to return the index number of the last element in the array, e.g., @array's last element is at $array[$#array]. The number of elements in @array is $#array + 1, since Perl arrays default to using zero based indices. If the array has not been defined, the return is also undefined. If the array is defined but has not had any elements assigned to it, e.g., @array = (); then $#array returns −1. See the section on Array functions in the Perl language structure article.
  • In the C preprocessor (and the C++ preprocessor, and other syntactically C-like languages), # is used to start a preprocessor directive. Inside macros (after #define) it is used for various purposes, including the double pound sign ## used for token concatenation.
  • In Unix shells, # is placed by convention at the end of a command prompt to denote that the user is working as root.
  • # is used in a URL of a webpage or other resource to introduce a "fragment identifier" – an id which defines a position within that resource. For example, in the URL http://articles/Number_sign#In_computing the portion after the # (In_computing) is the fragment identifier, in this case denoting that the display should be moved to show the tag marked by ... in the HTML.[12]
  • Internet Relay Chat: on (IRC) servers, # precedes the name of every channel that is available across an entire IRC network.
  • In blogs, # is sometimes used to denote a permalink for that particular weblog entry.
  • On social networking sites such as Twitter, # is used to denote a metadata tag, or hashtag. This influence has also spread into television, such as the hashtag heel wrestler in WWE.
  • In lightweight markup languages, such as wikitext, # is often used to introduce numbered list items.
  • In OCaml, # is the operator used to call a method.
  • In Common Lisp[13] and Scheme, # is the prefix for certain syntax with special meaning.
  • In Standard ML, #, when prefixed to a field name, becomes a projection function (function to access the field of a record or tuple); also, # prefixes a string literal to turn it into a character literal.
  • In Mathematica syntax, #, when used as a variable, becomes a pure function (a placeholder that is mapped to any variable meeting the conditions).
  • In LaTeX, #, when prefixing a number, references an arguments for a user defined command. For instance \newcommand{\code}[1]{\texttt{#1}}.
  • In Javadoc,[14] # is used with the @see tag to introduce or separate a field, constructor, or method member from its containing class.
  • In some dialects of assembly language, # is used to denote immediate mode addressing, e.g., LDA #10, which means "load the accumulator with the value 10" in MOS 6502 assembly language.
  • in HTML, CSS, SVG, and other computing applications "#" is used to identify a color specified in hexadecimal format, e.g., #FFAA00. This usage comes from X11 color specifications, which inherited it from some obscure languages that used "#" to prefix hexadecimal constants.
  • In Be-Music Script, every command line starts with #. Lines starting with characters other than # are treated as comments.

In popular culture

Other uses

  • Press releases: the notation "###" denotes "end", i.e. that there is no further copy to come.
  • Chess notation: # after a move denotes checkmate, being easier to type than the traditional ‡.
  • Scrabble: Putting a number sign after a word indicates that the word is found in the British word lists, but not the North American lists.[15]
  • Prescription drug delimiter: in some countries, such as Norway or Poland, # is used as a delimiter between different drugs on medical prescriptions.
  • Copy writing and editing: technical writers often use three hash signs ("###") as a marker in text where more content will be added or there are errors to be corrected.
  • Mining: in underground mining, the hash sign is sometimes used as a shorthand for "seam" or "shaft". An example would be "4#", which would mean "four shaft" or "four seam" depending on the context.
  • Medical shorthand: # is often used to indicate a bone fracture.[16] For example, '#NOF' is often used for 'fractured neck of femur'.
  • In linguistic phonology, # denotes a word boundary. For instance, /d/ → [t] / _# means that /d/ becomes [t] when it is the last segment in a word (i.e. when it appears before a word boundary).
  • In linguistic syntax, # before an example sentence denotes that the sentence is semantically ill-formed, though grammatically well-formed. For instance, "#The toothbrush is pregnant" is a grammatical sentence, but the meaning is odd.[17]
  • In Teletext and DVB subtitles in the UK, the # symbol is used to mark text that is sung either by a character or heard in background music. e.g. # For he's a jolly good fellow #
  • The use of the # symbol in a hashtag is a phenomenon conceived by Chris Messina, and popularized by social media network Twitter, as a way to direct conversations and topics amongst users.


In Unicode, several # characters are assigned:

  • U+FF03 fullwidth number sign (HTML: )
  • U+FE5F small number sign (HTML: )
  • U+0023 tag number sign (HTML: #)

In other languages or scripts:

Related characters, the sharp sign in musical notation:

  • U+1D12A musical symbol double sharp (HTML: 𝄪)
  • U+1D130 musical symbol sharp up (HTML: 𝄰)
  • U+1D131 musical symbol sharp down (HTML: 𝄱)
  • U+1D132 musical symbol quarter tone sharp (HTML: 𝄲)

On keyboards

On the standard US keyboard layout, the # symbol is Shift+3. On standard UK and some other European keyboards, the same keystrokes produce the pound currency symbol (£), and # is moved to a separate key above the right shift. On UK Mac keyboards, # is generated by Opt+3, whereas on other European Mac keyboards, the # can be found above the right shift key.


  1. ^  
  2. ^ a b "The "pound sign" mystery". Retrieved 22 December 2012. 
  3. ^  
  4. ^ Houston, Keith (2013-09-06). "The Ancient Roots of Punctuation". The New Yorker. Retrieved 16 October 2013. 
  5. ^ "Hash sign". Oxford English Dictionary. Retrieved 14 October 2013. 
  6. ^ Hochhester, Sheldon (2006-09-29). "Pressing Matters: Touch-tone phones spark debate". Encore. 
  7. ^ Douglas A. Kerr (2006-05-07). """The ASCII Character "Octatherp (PDF). 
  8. ^ "U.S. Patent No. 3,920,296". Retrieved 16 September 2014. 
  9. ^ "Frequently Asked Questions about C#". Retrieved 16 September 2014. 
  10. ^ "". Retrieved 16 September 2014. 
  11. ^ "Pronunciation guide for Unix - Bash -". Retrieved 16 September 2014. 
  12. ^ ""Introduction to HTML"". Retrieved 16 September 2014. 
  13. ^ "". Retrieved 16 September 2014. 
  14. ^ "". Retrieved 16 September 2014. 
  15. ^ "Scrabble Glossary". Tucson Scrabble Club. Retrieved 2012-02-06. 
  16. ^ Glossary of Medical Devices and Procedures: Abbreviations, Acronyms, and Definitions
  17. ^ Carnie, Andrew (2006). Syntax: A Generative Introduction (2nd ed.). Oxford: Wiley-Blackwell.  
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from World eBook Library are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.