Skip to main content
MedCalc
Mail a PDF copy of this page to:
(Your email address will not be added to a mailing list)
working
Show menu

ACODE function

Description

Character to ANSI character code function. ACODE(str) returns the ANSI code of the first character of the string str. If the length of the string is 0, i.e. the string is empty, then the function returns 0.

Note that the term ANSI in this context actually refers to Windows code page 1252.

Example

ACODE("Andy") returns 65.00

Calculator

ACODE()

Related functions

See also

External links