Difference between revisions of "Documentation/How Tos/Calc: CHAR function"

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 51: Line 51:
 
{{Note|The international standard ODFF will introduce the more versatile functions <tt>'''UNICODE'''</tt> and <tt>'''UNICHAR'''</tt>, which will be implemented in Calc.}}
 
{{Note|The international standard ODFF will introduce the more versatile functions <tt>'''UNICODE'''</tt> and <tt>'''UNICHAR'''</tt>, which will be implemented in Calc.}}
  
{{Documentation/SeeAlso|
+
{{SeeAlso|EN|
 
* [[Documentation/How_Tos/Calc: CODE function|CODE]]
 
* [[Documentation/How_Tos/Calc: CODE function|CODE]]
  

Revision as of 07:54, 17 July 2018


CHAR

Returns a single text character, given a character code.

Syntax:

CHAR(number)

number is the character code, in the range 1-255.
CHAR uses your system's character mapping (for example iso-8859-1, iso-8859-2, Windows-1252, Windows-1250) to determine which character to return. Codes greater than 127 may not be portable.

Example:

CHAR(72)

returns H, representing character code 72.
Documentation note.png The international standard ODFF will introduce the more versatile functions UNICODE and UNICHAR, which will be implemented in Calc.



See Also
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_CHAR_function&oldid=243416"
Views
Personal tools
Navigation
Tools