Template:ASCII code/doc

From Wikispooks
< Template:ASCII code
Revision as of 03:11, 5 December 2015 by Robin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Returns the ASCII value of a single character.

Usage

{{ASCII code|char}}

Examples:

  • {{ASCII code|q}} returns 113
  • {{ASCII code|Q}} returns 81

Note that only characters in the range 32-126 are supported. Non-standard characters will return 32 (space).

See also